mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 18:03:43 +01:00
Update podman_compose.py
repair mode written as size
This commit is contained in:
parent
b3370603d9
commit
901213e5b3
@ -490,7 +490,7 @@ def get_mount_args(compose, cnt, volume):
|
||||
size = tmpfs_opts.get("size", None)
|
||||
if size: opts.append('size={}'.format(size))
|
||||
mode = tmpfs_opts.get("mode", None)
|
||||
if mode: opts.append('mode={}'.format(size))
|
||||
if mode: opts.append('mode={}'.format(mode))
|
||||
if opts: args += ':' + ','.join(opts)
|
||||
return ['--tmpfs', args]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user