mirror of https://github.com/k3s-io/k3s
Merge pull request #66595 from hanxiaoshuai/fix0725
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. when hashsize is Invalid, add an error log **What this PR does / why we need it**: when hashsize is Invalid, add an error log **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```pull/8/head
commit
1ac1d797f6
|
@ -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