Skip to content

Commit

Permalink
fix: quadlet cmd_args append mistake
Browse files Browse the repository at this point in the history
Signed-off-by: QCU <[email protected]>
  • Loading branch information
qcu266 committed Oct 21, 2024
1 parent 84cff74 commit ef9a040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/podman/quadlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def custom_prepare_params(self, params: dict) -> dict:
for volume in params["volumes_from"]:
params["podman_args"].append(f"--volumes-from {volume}")
if params["cmd_args"]:
params["podman_args"].append(params["cmd_args"])
params["podman_args"] += params["cmd_args"]

# Return params with custom processing applied
return params
Expand Down

0 comments on commit ef9a040

Please sign in to comment.