reserve uses donectx

This commit is contained in:
Alex Dadgar 2018-11-01 16:23:04 -07:00
parent f0c7a8159b
commit b4661df231
1 changed files with 1 additions and 1 deletions

View File

@ -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
}