Skip to content

daemon: Daemon.RegistryHosts: use internal method to get daemon config#48984

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:daemon_RegistryHosts_use_internal
Nov 28, 2024
Merged

daemon: Daemon.RegistryHosts: use internal method to get daemon config#48984
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:daemon_RegistryHosts_use_internal

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

The Daemon.Config() option was added to expose the Config outside of the daemon package. Limit the use of that function to that purpose and use the internal, non-exported functions within the daemon itself; this makes it easier to see if there's still external consumers of the Config() method.

The Daemon.Config() option was added to expose the Config outside of the
daemon package. Limit the use of that function to that purpose and use
the internal, non-exported functions within the daemon itself; this makes
it easier to see if there's still external consumers of the Config()
method.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code labels Nov 28, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Nov 28, 2024
@thaJeztah thaJeztah self-assigned this Nov 28, 2024
@thaJeztah thaJeztah merged commit ab83458 into moby:master Nov 28, 2024
@thaJeztah thaJeztah deleted the daemon_RegistryHosts_use_internal branch November 28, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/daemon Core Engine 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