From fc61e0168b6636440c7f90d336de776be7953645 Mon Sep 17 00:00:00 2001 From: Muayyad Alsadi Date: Sun, 9 Jun 2019 03:46:31 +0300 Subject: [PATCH] add support for volumes --- podman-compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-compose.py b/podman-compose.py index c61abb9..3d675a7 100755 --- a/podman-compose.py +++ b/podman-compose.py @@ -366,7 +366,7 @@ def mount_desc_to_args(mount_desc, podman_path, basedir, proj_name, srv_name, cn target = mount_desc["target"] opts=[] if mount_desc.get("bind"): - bind_prop=mount_desc.["bind"].get("propagation") + bind_prop=mount_desc["bind"].get("propagation") if bind_prop: opts.append("bind-propagation={}".format(bind_prop)) if mount_desc.get("read_only", False): opts.append("ro") if mount_type=='tmpfs':