Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli/command/system: remove BridgeNfIptables, BridgeNfIp6tables in tests #5696

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

thaJeztah
Copy link
Member

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.

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

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]>
@thaJeztah thaJeztah added this to the 28.0.0 milestone Dec 14, 2024
@thaJeztah thaJeztah self-assigned this Dec 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.54%. Comparing base (91d097e) to head (ffe0354).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5696      +/-   ##
==========================================
+ Coverage   59.51%   59.54%   +0.02%     
==========================================
  Files         346      346              
  Lines       29379    29379              
==========================================
+ Hits        17486    17494       +8     
+ Misses      10923    10914       -9     
- Partials      970      971       +1     

@akerouanton akerouanton merged commit 7dd3168 into docker:master Dec 16, 2024
107 checks passed
@thaJeztah thaJeztah deleted the remove_use_of_netfilter_fields branch December 16, 2024 21:17
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