mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
reserve uses donectx
This commit is contained in:
@@ -81,7 +81,7 @@ func (d *devicePluginClient) Reserve(deviceIDs []string) (*ContainerReservation,
|
||||
}
|
||||
|
||||
// Make the request
|
||||
resp, err := d.client.Reserve(context.Background(), req)
|
||||
resp, err := d.client.Reserve(d.doneCtx, req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user