Skip to content

Commit a55474a

Browse files
committed
linter fix
1 parent abe2cd2 commit a55474a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/restserver/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ func TestNMAgentNCListHandler(t *testing.T) {
13091309
req *http.Request
13101310
)
13111311

1312-
req, err = http.NewRequest(http.MethodGet, cns.NMAgentGetNCListAPIPath, http.NoBody)
1312+
req, err = http.NewRequestWithContext(context.TODO(), http.MethodGet, cns.NMAgentGetNCListAPIPath, http.NoBody)
13131313
if err != nil {
13141314
t.Fatal(err)
13151315
}

0 commit comments

Comments
 (0)