From 4bf0ef8ce206a0dab32f7d686a85ff3c885eb16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Sat, 26 Sep 2015 17:11:33 +1100 Subject: [PATCH] setSysctl for bridge-nf-call-iptables should fail with a warning --- pkg/proxy/iptables/proxier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/iptables/proxier.go b/pkg/proxy/iptables/proxier.go index 346d0b8b916..74a5e9963a6 100644 --- a/pkg/proxy/iptables/proxier.go +++ b/pkg/proxy/iptables/proxier.go @@ -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{