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/container: minor cleanup in attach #4832

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

thaJeztah
Copy link
Member

  • extracted from WIP: rewrite runAttach to be exported #4643
  • rename confusing target argument, and use containerID in all places; also make the variable more clearly local-scoped.
  • rename dockerCli to be correctly camel-case, and to be consistent in all places in this file.

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

- rename confusing `target` argument, and use `containerID` in all places;
  also make the variable more clearly local-scoped.
- rename `dockerCli` to be correctly camel-case, and to be consistent in
  all places in this file.

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 26, 2024
@thaJeztah thaJeztah added this to the 26.0.0 milestone Jan 26, 2024
@thaJeztah thaJeztah self-assigned this Jan 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2024

Codecov Report

Merging #4832 (690f63e) into master (a1bd689) will decrease coverage by 0.01%.
The diff coverage is 54.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4832      +/-   ##
==========================================
- Coverage   59.58%   59.58%   -0.01%     
==========================================
  Files         287      287              
  Lines       24722    24721       -1     
==========================================
- Hits        14731    14730       -1     
  Misses       9106     9106              
  Partials      885      885              

@thaJeztah thaJeztah merged commit abf8cff into docker:master Jan 26, 2024
77 checks passed
@thaJeztah thaJeztah deleted the docker_attach_fixups branch January 26, 2024 15:46
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.

4 participants