Skip to content

libnetwork/iptables: un-export ZoneSettings, and slight refactor#46247

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:libnetwork_unexport_ZoneSettings
Aug 23, 2023
Merged

libnetwork/iptables: un-export ZoneSettings, and slight refactor#46247
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:libnetwork_unexport_ZoneSettings

Conversation

@thaJeztah
Copy link
Member

  • un-export ZoneSettings, because it's only used internally
  • make conversion to a "interface" slice a method on the struct
  • remove the getDockerZoneSettings() function, and move the type-definition close to where it's used, as it was only used in a single location

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

- un-export ZoneSettings, because it's only used internally
- make conversion to a "interface" slice a method on the struct
- remove the getDockerZoneSettings() function, and move the type-definition
  close to where it's used, as it was only used in a single location

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 25.0.0 milestone Aug 23, 2023
@thaJeztah thaJeztah merged commit cec49ba into moby:master Aug 23, 2023
@thaJeztah thaJeztah deleted the libnetwork_unexport_ZoneSettings branch August 23, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking/firewalld Networking area/networking Networking kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants