diff --git a/api/client/volume/client_volume_test.go b/api/client/volume/client_volume_test.go index a2c16456d..96ceea212 100644 --- a/api/client/volume/client_volume_test.go +++ b/api/client/volume/client_volume_test.go @@ -1,6 +1,7 @@ package volume import ( + "context" "crypto/tls" "encoding/json" "net/http" @@ -25,7 +26,7 @@ func TestClientTLS(t *testing.T) { clnt.SetTLS(&tls.Config{InsecureSkipVerify: true}) - _, err = VolumeDriver(clnt).Inspect([]string{"12345"}) + _, err = VolumeDriver(clnt).Inspect(context.TODO(), []string{"12345"}) require.NoError(t, err) }