mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
chore(lint): lint fix in /pkg/util/iptables
This commit is contained in:
parent
bdc11c2806
commit
a4631c845e
@ -130,9 +130,8 @@ func (mfc *monitorFakeCmd) CombinedOutput() ([]byte, error) {
|
||||
case opListChain:
|
||||
if table.Has(chainName) {
|
||||
return []byte{}, nil
|
||||
} else {
|
||||
return []byte{}, fmt.Errorf("no such chain %q", chainName)
|
||||
}
|
||||
return []byte{}, fmt.Errorf("no such chain %q", chainName)
|
||||
case opDeleteChain:
|
||||
table.Delete(chainName)
|
||||
return []byte{}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user