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: merge DockerCliOption and InitializeOpt types #4387

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

thaJeztah
Copy link
Member

The cli/command package defined two option-types with the same signature.

This patch creates a new type instead (CLIOption), and makes the existing types an alias for this (deprecating their old names).

- What I did

- How I did it

- How to verify it

- Description for the changelog

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

@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Jun 28, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2023

Codecov Report

Merging #4387 (0883e84) into master (ce6832a) will not change coverage.
The diff coverage is 80.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4387   +/-   ##
=======================================
  Coverage   59.77%   59.77%           
=======================================
  Files         287      287           
  Lines       24830    24830           
=======================================
  Hits        14841    14841           
  Misses       9103     9103           
  Partials      886      886           

@thaJeztah thaJeztah marked this pull request as ready for review December 12, 2023 12:26
@thaJeztah thaJeztah added this to the 25.0.0 milestone Dec 12, 2023
@thaJeztah thaJeztah self-assigned this Dec 12, 2023
The cli/command package defined two option-types with the same signature.

This patch creates a new type instead (CLIOption), and makes the existing
types an alias for this (deprecating their old names).

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah merged commit 9eb632d into docker:master Dec 12, 2023
76 checks passed
@thaJeztah thaJeztah deleted the single_cli_option branch December 12, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants