reserve uses donectx
This commit is contained in:
parent
f0c7a8159b
commit
b4661df231
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue