Skip to content

Commit 51a9dc0

Browse files
authored
Merge pull request #1274 from vmware/fix-lint
Fix lint error
2 parents bbc26c1 + 9ab6bf1 commit 51a9dc0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: nsxt/validators.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ func isSinglePort(vi interface{}) bool {
3131
default:
3232
return false
3333
}
34-
if i > 65536 {
35-
return false
36-
}
37-
return true
34+
return i <= 65536
3835
}
3936

4037
func isPortRange(v string) bool {

0 commit comments

Comments
 (0)