Skip to content

Commit

Permalink
address lints
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Shen <[email protected]>
  • Loading branch information
overvenus committed Jan 24, 2022
1 parent abd8daf commit 9d3bd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/version/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func TestCheckPDVersionError(t *testing.T) {
}))
defer ts.Close()

resp = func(w http.ResponseWriter, r *http.Request) {
resp = func(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusInternalServerError)
}
require.Contains(t, CheckPDVersion(context.TODO(), ts.URL, nil).Error(),
Expand Down

0 comments on commit 9d3bd8e

Please sign in to comment.