Unverified Commit 3a0da2bf authored by Murali Reddy's avatar Murali Reddy Committed by GitHub
Browse files

fix build break due to commit 05d03e76 (#817)

parent 52e338d8
Showing with 2 additions and 2 deletions
+2 -2
......@@ -507,7 +507,7 @@ func (nsc *NetworkServicesController) setupIpvsFirewall() error {
}
// config.IpvsPermitAll: true then create INPUT/KUBE-ROUTER-SERVICE Chain creation else return
if !config.ipvsPermitAll {
if !nsc.ipvsPermitAll {
return nil
}
......@@ -519,7 +519,7 @@ func (nsc *NetworkServicesController) setupIpvsFirewall() error {
args = []string{"-m", "comment", "--comment", comment,
"-m", "set", "--match-set", ipvsServicesIPSetName, "dst,dst",
"-j", "ACCEPT"}
exists, err := iptablesCmdHandler.Exists("filter", ipvsFirewallChainName, args...)
exists, err = iptablesCmdHandler.Exists("filter", ipvsFirewallChainName, args...)
if err != nil {
return fmt.Errorf("Failed to run iptables command: %s", err.Error())
}
......
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