Skip to content

Fix panic with down command when -p flag specified#9354

Merged
ndeloof merged 1 commit intodocker:v2from
glours:fix-down-panic-issue
Apr 5, 2022
Merged

Fix panic with down command when -p flag specified#9354
ndeloof merged 1 commit intodocker:v2from
glours:fix-down-panic-issue

Conversation

@glours
Copy link
Contributor

@glours glours commented Apr 4, 2022

use project instead of DownOptions.project to list service images in pkg.compose.down

What I did
Use project structure get from project name instead of the potential nil project structure from the DownOptions when listing services images.

Related issue
fixes #9353

(not mandatory) A picture of a cute animal, if possible in relation with what you did
image

…pkg.compose.down

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
@glours glours requested review from ndeloof and ulyssessouza April 4, 2022 20:16
@glours glours self-assigned this Apr 4, 2022
@ndeloof ndeloof merged commit 7fea9f7 into docker:v2 Apr 5, 2022
@glours glours deleted the fix-down-panic-issue branch January 11, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-compose down panics with -p flag

2 participants