Skip to content

cli/command/container: minor cleanup in attach - #4832

Merged
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:docker_attach_fixups
Jan 26, 2024
Merged

cli/command/container: minor cleanup in attach#4832
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:docker_attach_fixups

Conversation

@thaJeztah

Copy link
Copy Markdown
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 <github@gone.nl>
@thaJeztahthaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Jan 26, 2024
@thaJeztahthaJeztah added this to the 26.0.0 milestone Jan 26, 2024
@thaJeztahthaJeztah self-assigned this Jan 26, 2024
@codecov-commenter

codecov-commenter commented Jan 26, 2024

Copy link
Copy Markdown

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:masterJan 26, 2024
@thaJeztah
thaJeztah deleted the docker_attach_fixups branch January 26, 2024 15:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactorPR's that refactor, or clean-up codestatus/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@thaJeztah@codecov-commenter@vvoland@sam-thibault