Skip to content

Update Docker command handling to avoid empty results#1352

Merged
Fizzadar merged 3 commits intopyinfra-dev:3.xfrom
KalvadTech:fix/1278
Jun 6, 2025
Merged

Update Docker command handling to avoid empty results#1352
Fizzadar merged 3 commits intopyinfra-dev:3.xfrom
KalvadTech:fix/1278

Conversation

@wowi42
Copy link
Copy Markdown
Collaborator

@wowi42 wowi42 commented Apr 30, 2025

It fix #1278

wowi42 added 3 commits April 30, 2025 21:49
Add test file for DockerImages fact
The original command used double quotes unnecessarily,
which could cause issues with shell interpretation.
This change ensures the command is correctly quoted.
Refactor Docker fact classes to use multiline string commands and update
corresponding test JSON files to match the new command format.
Copy link
Copy Markdown
Member

@Fizzadar Fizzadar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally got a chance to merge, looks good to me - thank you @wowi42!

@Fizzadar
Copy link
Copy Markdown
Member

Fizzadar commented Jun 6, 2025

Note: test issue unrelated, don't have perms so can't rebase but should be ok once landed.

@Fizzadar Fizzadar merged commit 0321d0d into pyinfra-dev:3.x Jun 6, 2025
41 of 59 checks passed
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.

DockerImages fact raises exception when there are no images present

2 participants