chore: upgrade golangci-lint to 1.51.1

This commit is contained in:
Oleg Lobanov
2023-02-16 09:11:12 +01:00
parent fa95299df4
commit 10d628aecc
11 changed files with 307 additions and 719 deletions

View File

@@ -27,6 +27,7 @@ var (
cmdNotAllowed = []byte("Command not allowed.")
)
//nolint:unparam
func wsErr(ws *websocket.Conn, r *http.Request, status int, err error) {
txt := http.StatusText(status)
if err != nil || status >= 400 {