mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
when hashsize is Invalid, add an error log
This commit is contained in:
parent
9e0c4a6095
commit
18873a8d52
@ -111,7 +111,7 @@ func (set *IPSet) Validate() bool {
|
||||
}
|
||||
// check hash size value of ipset
|
||||
if set.HashSize <= 0 {
|
||||
|
||||
glog.Errorf("Invalid hashsize value %d, should be >0", set.HashSize)
|
||||
return false
|
||||
}
|
||||
// check max elem value of ipset
|
||||
|
Loading…
Reference in New Issue
Block a user