Commit 4bf0ef8c authored by Mikaël Cluseau's avatar Mikaël Cluseau

setSysctl for bridge-nf-call-iptables should fail with a warning

parent d49ca164
......@@ -189,7 +189,7 @@ func NewProxier(ipt utiliptables.Interface, exec utilexec.Interface, syncPeriod
// care about.
exec.Command("modprobe", "br-netfilter").CombinedOutput()
if err := setSysctl(sysctlBridgeCallIptables, 1); err != nil {
return nil, fmt.Errorf("can't set sysctl %s: %v", sysctlBridgeCallIptables, err)
glog.Warningf("can't set sysctl %s: %v", sysctlBridgeCallIptables, err)
}
return &Proxier{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment