Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Nov 28, 2022

cli: NewTopLevelCommand: don't use unnamed assignments

This prevents unexpected bugs if fields are added/moved.

cli/command: remove DockerCli.loadConfigFile()

This makes it more transparent what's happening.

cli/command: DockerCli: keep reference to options for later use

Store a reference to the options in the client, so that they are available for later use.

This prevents unexpected bugs if fields are added/moved.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
This makes it more transparent what's happening.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Store a reference to the options in the client, so that they are available
for later use.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review area/context kind/refactor PR's that refactor, or clean-up code labels Nov 28, 2022
@thaJeztah thaJeztah added this to the 23.0.0 milestone Nov 28, 2022
@thaJeztah
Copy link
Member Author

/cc @silvin-lubecki @vvoland ptal 🤗

@thaJeztah thaJeztah merged commit 8b1cbfd into docker:master Nov 28, 2022
@thaJeztah thaJeztah deleted the context_lazy_evaluate_step4 branch November 28, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/context 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