Update podman_compose.py

repair mode written as size
This commit is contained in:
SsjackX 2021-01-29 11:23:17 +08:00 committed by Muayyad Alsadi
parent b3370603d9
commit 901213e5b3

View File

@ -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: