Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jan 22, 2024
1 parent 6c4f812 commit 5446d66
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,8 @@ func TestContainerCreation(t *testing.T) {

if os.Getenv("XDG_RUNTIME_DIR") != "" {
t.Log("[Docker Rootless] do not assert that the container should have zero aliases in the bridge network")
} else {
if len(networkAliases["bridge"]) != 0 {
t.Errorf("Expected number of aliases for 'bridge' network %d. Got %d.", 0, len(networkAliases["bridge"]))
}
} else if len(networkAliases["bridge"]) != 0 {
t.Errorf("Expected number of aliases for 'bridge' network %d. Got %d.", 0, len(networkAliases["bridge"]))
}
}

Expand Down

0 comments on commit 5446d66

Please sign in to comment.