Skip to content

Commit

Permalink
fix: quadlet cmd_args append mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
丘思有 committed Oct 21, 2024
1 parent 84cff74 commit 8cd5643
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 8cd5643

Please sign in to comment.