forked from extern/podman-compose
Make sure port entries are converted to strings
Otherwise concatenating all parameters might fail with a TypeError
This commit is contained in:
parent
62d2024fee
commit
039fe30a70
@ -1170,9 +1170,10 @@ def create_pods(compose, args):
|
||||
]
|
||||
ports = pod.get("ports", None) or []
|
||||
for i in ports:
|
||||
podman_args.extend(['-p', i])
|
||||
podman_args.extend(['-p', str(i)])
|
||||
compose.podman.run([], "pod", podman_args)
|
||||
|
||||
|
||||
def up_specific(compose, args):
|
||||
deps = []
|
||||
if not args.no_deps:
|
||||
|
Loading…
Reference in New Issue
Block a user