mirror of https://github.com/k3s-io/k3s
when hashsize is Invalid, add an error log
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