mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-28 16:31:28 +01:00
fix typo (#579)
This commit is contained in:
parent
87718c971d
commit
4dce4b7c1d
@ -1419,7 +1419,7 @@ func ensureIpvsConnReuseMode() error {
|
|||||||
glog.Errorf("skipping setting net.ipv4.vs.conn_reuse_mode=0, error stating: %s : %s", sysctlPath, err.Error())
|
glog.Errorf("skipping setting net.ipv4.vs.conn_reuse_mode=0, error stating: %s : %s", sysctlPath, err.Error())
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return ioutil.WriteFile("sysctlPath", []byte(strconv.Itoa(0)), 0640)
|
return ioutil.WriteFile(sysctlPath, []byte(strconv.Itoa(0)), 0640)
|
||||||
}
|
}
|
||||||
|
|
||||||
func ensureIpvsExpireNodestConn() error {
|
func ensureIpvsExpireNodestConn() error {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user