Skip to content

Commit

Permalink
Remove unnecessary quotes in podman_container_exec module
Browse files Browse the repository at this point in the history
Fix containers#714
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
  • Loading branch information
sshnaidm committed Feb 28, 2024
1 parent de490b8 commit f2dcda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/podman_container_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def run_container_exec(module: AnsibleModule) -> dict:

to_text(value, errors='surrogate_or_strict')
exec_options += ['--env',
'%s="%s"' % (key, value)]
'%s=%s' % (key, value)]

if privileged:
exec_options.append('--privileged')
Expand Down

0 comments on commit f2dcda6

Please sign in to comment.