mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
Fix idempotency when using 0.0.0.0 in ports (#679)
Fix #678 Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
821fe265eb
commit
2d006399b0
2 changed files with 3 additions and 1 deletions
|
|
@ -1187,7 +1187,7 @@ class PodmanContainerDiff:
|
|||
if image_ports:
|
||||
after += list(image_ports.keys())
|
||||
after = [
|
||||
i.replace("/tcp", "").replace("[", "").replace("]", "")
|
||||
i.replace("/tcp", "").replace("[", "").replace("]", "").replace("0.0.0.0:", "")
|
||||
for i in after]
|
||||
# No support for port ranges yet
|
||||
for ports in after:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue