mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 07:53:16 +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')
|
||||
if cnt.get('tty'):
|
||||
podman_args.append('--tty')
|
||||
ulimit = cnt.get('ulimit', [])
|
||||
ulimit = cnt.get('ulimits', [])
|
||||
if ulimit is not None:
|
||||
# ulimit can be a single value, i.e. ulimit: host
|
||||
if is_str(ulimit):
|
||||
|
Loading…
Reference in New Issue
Block a user