upgrade linter to 2.13.1

Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
Ryan Richard
2026-08-27 14:48:37 -07:00
parent 3ba58efa59
commit 4a18bd939d
13 changed files with 14 additions and 23 deletions
-1
View File
@@ -77,7 +77,6 @@ const (
// stdin returns the file descriptor for stdin as an int.
func stdin() int {
//nolint:gosec // casting like this is the documented way to pass file descriptors to the term package
return int(os.Stdin.Fd())
}
-1
View File
@@ -325,7 +325,6 @@ func TestLogin(t *testing.T) { //nolint:gocyclo
http.Error(w, "unexpected method", http.StatusMethodNotAllowed)
return
}
//nolint:gosec // this is a test, so we don't care about limiting request body size
if err := r.ParseForm(); err != nil {
http.Error(w, err.Error(), http.StatusBadRequest)
return