fix go-lint err (#237)

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
This commit is contained in:
ChrisLiu 2025-06-06 13:32:19 +08:00 committed by GitHub
parent 1ca95a5c36
commit 6dbab6be15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -39,10 +39,7 @@ func (o AlibabaCloudOptions) Valid() bool {
return false
}
}
if nlbOptions.MinPort <= 0 {
return false
}
return true
return nlbOptions.MinPort > 0
}
func (o AlibabaCloudOptions) Enabled() bool {