Skip to content

Update Docker command handling to avoid empty results #1352

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

Open
wants to merge 3 commits into
base: 3.x
Choose a base branch
from

Conversation

wowi42
Copy link
Contributor

@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.
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
1 participant