chore(lint): bump linter from v2.4.0 to v2.11.4

This commit is contained in:
Quentin McGaw
2026-08-05 14:26:21 +00:00
parent d994ce5809
commit 3ae441e862
24 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ func encodeBindData(addrType addrType, address string, port uint16) (
if len(address) > maxDomainNameLength {
return nil, fmt.Errorf("%w: %s", ErrDomainNameTooLong, address)
}
data = append(data, byte(len(address)))
data = append(data, byte(len(address))) //nolint:gosec
data = append(data, []byte(address)...)
default:
panic(fmt.Sprintf("unsupported address type %d", addrType))