mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
upgrade to golangci-lint v2.7.2, bring back some nolint directives
This commit is contained in:
@@ -73,7 +73,7 @@ func Parse(endpoint string, defaultPort uint16) (HostPort, error) {
|
||||
|
||||
return HostPort{
|
||||
Host: host,
|
||||
Port: uint16(integerPort), // this cast is checked by validation.IsValidPortNum above
|
||||
Port: uint16(integerPort), //nolint:gosec // this cast is checked by validation.IsValidPortNum above
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user