reserve uses donectx

This commit is contained in:
Alex Dadgar
2018-11-01 16:23:04 -07:00
parent a8e95502fe
commit eae45992db

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
}