Skip to content

Commit

Permalink
enhancement: skip ensure iptables rule error for yurthub (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
rambohe-ch authored Nov 3, 2021
1 parent 286911d commit c960daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yurthub/network/iptables.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (im *IptablesManager) EnsureIptablesRules() error {
_, err := im.iptables.EnsureRule(rule.pos, rule.table, rule.chain, rule.args...)
if err != nil {
klog.Errorf("could not ensure iptables rule(%s -t %s %s %s), %v", rule.pos, rule.table, rule.chain, strings.Join(rule.args, ","), err)
return err
continue
}
}
return nil
Expand Down

0 comments on commit c960daf

Please # to comment.