Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alicelyy committed Jan 18, 2024
1 parent 66ef1f8 commit 3168d4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/client/volume/client_volume_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package volume

import (
"context"
"crypto/tls"
"encoding/json"
"net/http"
Expand All @@ -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)
}

0 comments on commit 3168d4e

Please sign in to comment.