Skip to content

daemon: cleanupContainer(): pass ContainerRmConfig as parameter#42774

Closed
thaJeztah wants to merge 2 commits intomoby:masterfrom
thaJeztah:daemon_pass_rm_config
Closed

daemon: cleanupContainer(): pass ContainerRmConfig as parameter#42774
thaJeztah wants to merge 2 commits intomoby:masterfrom
thaJeztah:daemon_pass_rm_config

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

We already have this config, so might as well pass it, instead of passing each option as a separate argument.

First commit fixes some variable names that clashed with imports

- How to verify it

- Description for the changelog

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

Renamed a variable that collided with an import.

Also remove the named return variable from cleanupContainer(),
as it wasn't used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code labels Aug 22, 2021
We already have this config, so might as well pass it, instead of passing
each option as a separate argument.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the daemon_pass_rm_config branch from 2bf37e0 to 5125ab8 Compare August 22, 2021 12:11
@thaJeztah
Copy link
Copy Markdown
Member Author

@AkihiroSuda @tianon ptal 😅

@thaJeztah
Copy link
Copy Markdown
Member Author

thaJeztah commented Apr 17, 2022

closing in favour of #43206, which includes this

@thaJeztah thaJeztah closed this Apr 17, 2022
@thaJeztah thaJeztah deleted the daemon_pass_rm_config branch November 1, 2022 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/daemon Core Engine 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