Skip to content

Commit 9ab6bf1

Browse files
author
Anna Khmelnitsky
committed
Fix lint error
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
1 parent bbc26c1 commit 9ab6bf1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

nsxt/validators.go

Lines changed: 1 addition & 4 deletions
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)