Skip to content

cmd/docker: registerCompletionFuncForGlobalFlags: take store.Store as argument#4778

Merged
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:cmd_docker_smaller_interface
Jan 11, 2024
Merged

cmd/docker: registerCompletionFuncForGlobalFlags: take store.Store as argument#4778
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:cmd_docker_smaller_interface

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

Update this function to accept a smaller interface, as it doesn't need all of "CLI". Also return errors encountered during its operation (although the caller currently has no error return on its own).

- 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)

… argument

Update this function to accept a smaller interface, as it doesn't need
all of "CLI". Also return errors encountered during its operation (although
the caller currently has no error return on its own).

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Jan 11, 2024
@thaJeztah thaJeztah added this to the 25.0.0 milestone Jan 11, 2024
@thaJeztah thaJeztah self-assigned this Jan 11, 2024
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 11, 2024

Codecov Report

Merging #4778 (0e37dd4) into master (c825db8) will decrease coverage by 0.02%.
The diff coverage is 41.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4778      +/-   ##
==========================================
- Coverage   59.62%   59.61%   -0.02%     
==========================================
  Files         287      287              
  Lines       24777    24784       +7     
==========================================
+ Hits        14774    14775       +1     
- Misses       9117     9121       +4     
- Partials      886      888       +2     

@thaJeztah thaJeztah merged commit 859154b into docker:master Jan 11, 2024
@thaJeztah thaJeztah deleted the cmd_docker_smaller_interface branch January 11, 2024 21:50
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