mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-16 18:31:34 +01:00
Fixed get of ulimit tag, according to docker-compose specification
This commit is contained in:
parent
b369073574
commit
72697016f9
@ -496,7 +496,7 @@ def container_to_args(compose, cnt, detached=True, podman_command='run'):
|
|||||||
podman_args.append('-i')
|
podman_args.append('-i')
|
||||||
if cnt.get('tty'):
|
if cnt.get('tty'):
|
||||||
podman_args.append('--tty')
|
podman_args.append('--tty')
|
||||||
ulimit = cnt.get('ulimit', [])
|
ulimit = cnt.get('ulimits', [])
|
||||||
if ulimit is not None:
|
if ulimit is not None:
|
||||||
# ulimit can be a single value, i.e. ulimit: host
|
# ulimit can be a single value, i.e. ulimit: host
|
||||||
if is_str(ulimit):
|
if is_str(ulimit):
|
||||||
|
Loading…
Reference in New Issue
Block a user