Increase the upper limit of ali-nlb ports (#204)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
This commit is contained in:
parent
aaa63740a4
commit
0b3575947b
|
|
@ -39,7 +39,7 @@ func (o AlibabaCloudOptions) Valid() bool {
|
|||
return false
|
||||
}
|
||||
}
|
||||
if int(nlbOptions.MaxPort-nlbOptions.MinPort)-len(nlbOptions.BlockPorts) >= 500 {
|
||||
if int(nlbOptions.MaxPort-nlbOptions.MinPort)-len(nlbOptions.BlockPorts) >= 1000 {
|
||||
return false
|
||||
}
|
||||
if nlbOptions.MinPort <= 0 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue