chore(lint): lint fix in /pkg/util/iptables

This commit is contained in:
Karthikeyan Govindaraj
2019-11-18 23:44:49 -08:00
committed by GitHub
parent bdc11c2806
commit a4631c845e

View File

@@ -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