You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix G115: Add safe conversion for uint64 to int64 in httpclient.go
- Fix testifylint: Reverse actual and expected values in httpsclient_test.go
- Fix bodyclose: Close response body in httpsclient_test.go
- Fix revive: Add package comment and export comments in gitalyserver.go
- Fix errcheck: Check conn.Close() and server.Serve() errors
- Fix G112: Add ReadHeaderTimeout to prevent Slowloris attacks
- Fix G304: Use filepath.Clean for file inclusion safety
client/httpsclient_test.go:63:4: expected-actual: need to reverse actual and expected values (testifylint)
3
-
client/httpsclient_test.go:106:24: response body must be closed (bodyclose)
4
-
client/httpsclient_test.go:109:5: expected-actual: need to reverse actual and expected values (testifylint)
5
-
client/testserver/gitalyserver.go:1:1: package-comments: should have a package comment (revive)
6
-
client/testserver/gitalyserver.go:21:6: exported: exported type TestGitalyServer should have comment or be unexported (revive)
7
-
client/testserver/gitalyserver.go:26:1: exported: exported method TestGitalyServer.SSHReceivePack should have comment or be unexported (revive)
8
-
client/testserver/gitalyserver.go:38:1: exported: exported method TestGitalyServer.SSHUploadPackWithSidechannel should have comment or be unexported (revive)
9
-
client/testserver/gitalyserver.go:43:18: Error return value of `conn.Close` is not checked (errcheck)
10
-
client/testserver/gitalyserver.go:58:1: exported: exported method TestGitalyServer.SSHUploadArchive should have comment or be unexported (revive)
11
-
client/testserver/gitalyserver.go:70:1: exported: exported function StartGitalyServer should have comment or be unexported (revive)
12
-
client/testserver/gitalyserver.go:119:3: go-require: require must only be used in the goroutine running the test function (testifylint)
13
-
client/testserver/testserver.go:20:6: exported: exported type TestRequestHandler should have comment or be unexported (revive)
14
-
client/testserver/testserver.go:46:12: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
15
-
client/testserver/testserver.go:52:17: Error return value of `server.Serve` is not checked (errcheck)
16
-
client/testserver/testserver.go:117:18: G304: Potential file inclusion via variable (gosec)
17
1
internal/command/command.go:1:1: package-comments: should have a package comment (revive)
18
2
internal/command/command.go:15:6: exported: exported type Command should have comment or be unexported (revive)
19
3
internal/command/command.go:19:6: exported: exported type LogMetadata should have comment or be unexported (revive)
0 commit comments