Skip to content

Commit

Permalink
Merge pull request moby#49248 from robmry/fix_unit_tests_for_nftables…
Browse files Browse the repository at this point in the history
…_host

Fix unit tests for an nftables host
  • Loading branch information
thaJeztah authored Jan 10, 2025
2 parents 00d1b92 + 8f9c09e commit f54ac48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libnetwork/firewall_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func TestUserChain(t *testing.T) {
iptables bool
append bool // append other rules to FORWARD
}{
{
iptables: false,
append: false,
},
{
iptables: true,
append: false,
Expand All @@ -39,6 +35,10 @@ func TestUserChain(t *testing.T) {
iptables: true,
append: true,
},
{
iptables: false,
append: false,
},
}

for _, tc := range tests {
Expand Down

0 comments on commit f54ac48

Please sign in to comment.