libnetwork/iptables: resetIptables(): don't pass empty table name
Don't depend on a default being set, but explicitly pass the table. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
1198fe8f6b
commit
ad0c928ab5
1 changed files with 1 additions and 1 deletions
|
@ -111,6 +111,6 @@ func resetIptables(t *testing.T) {
|
|||
|
||||
_, err := iptable.Raw("-F", fwdChainName)
|
||||
assert.Check(t, err)
|
||||
_ = iptable.RemoveExistingChain(usrChainName, "")
|
||||
_ = iptable.RemoveExistingChain(usrChainName, iptables.Filter)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue