pkg/util/iptables missing unit tests
Added tests for Save, SaveAll, Restore and RestoreAll
This commit is contained in:
@@ -54,7 +54,6 @@ type Interface interface {
|
||||
DeleteRule(table Table, chain Chain, args ...string) error
|
||||
// IsIpv6 returns true if this is managing ipv6 tables
|
||||
IsIpv6() bool
|
||||
// TODO: (BenTheElder) Unit-Test Save/SaveAll, Restore/RestoreAll
|
||||
// Save calls `iptables-save` for table.
|
||||
Save(table Table) ([]byte, error)
|
||||
// SaveAll calls `iptables-save`.
|
||||
|
Reference in New Issue
Block a user