[27.x backport] cli/command/system: remove BridgeNfIptables, BridgeNfIp6tables in tests#5700
Merged
akerouanton merged 1 commit intodocker:27.xfrom Dec 16, 2024
Conversation
This is a follow-up to 55e404e, which removed some warnings related to these fields. These fields in the /info response were used to warn users if netfiltering was not enabled on the host when the daemon started. Starting with [moby@db25b0d], detecting whether netfiltering is enabled now [happens when needed][1], making the state that's detected at startup irrelevant. These fields will therefore be deprecated in future, but we can start removing their use in tests. [moby@db25b0d]: moby/moby@db25b0d [1]: https://github.com/moby/moby/blob/944e40350259f040950d871d402d848ff2a799bc/libnetwork/drivers/bridge/setup_bridgenetfiltering.go#L16-L77 Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffe0354) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 27.x #5700 +/- ##
=======================================
Coverage 58.58% 58.58%
=======================================
Files 346 346
Lines 29322 29322
=======================================
Hits 17178 17178
Misses 11171 11171
Partials 973 973 |
akerouanton
approved these changes
Dec 16, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow-up to 55e404e, which removed some warnings related to these fields.
These fields in the /info response were used to warn users if netfiltering was not enabled on the host when the daemon started. Starting with moby@db25b0d, detecting whether netfiltering is enabled now happens when needed, making the state that's detected at startup irrelevant.
These fields will therefore be deprecated in future, but we can start removing their use in tests.
(cherry picked from commit ffe0354)