Skip to content

libnetwork/drivers/bridge: setupIPChains: fix defer checking wrong err#49109

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:fix_setupIPChains_defer
Dec 16, 2024
Merged

libnetwork/drivers/bridge: setupIPChains: fix defer checking wrong err#49109
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:fix_setupIPChains_defer

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Dec 16, 2024

The output variable was renamed in 0503cf2, but that commit failed to change this defer, which was now checking the wrong error.

- Description for the changelog

networking: fixed a bug that could result in a iptables DOCKER FILTER chain not being cleaned up on failure [moby/moby#49109](ttps://github.com/moby/moby/pull/49109)

- A picture of a cute animal (not mandatory but encouraged)

The output variable was renamed in 0503cf2,
but that commit failed to change this defer, which was now checking the
wrong error.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants