renamed conflict var
Change-Id: Ica6ca979175d1d94dd78176484a6868d1c9a13e8
diff --git a/xos/synchronizers/onboarding/xosbuilder.py b/xos/synchronizers/onboarding/xosbuilder.py
index df584a6..d5ef3ce 100644
--- a/xos/synchronizers/onboarding/xosbuilder.py
+++ b/xos/synchronizers/onboarding/xosbuilder.py
@@ -370,9 +370,9 @@
component_external_links.append("%s:%s" % (l.container, l.alias))
# creating volumes list
- volume_list = []
+ component_volume_list = []
for volume in c.volumes.all():
- volume_list.append({"host_path": volume.host_path,
+ component_volume_list.append({"host_path": volume.host_path,
"container_path": volume.container_path,
"read_only": volume.read_only})
@@ -386,7 +386,7 @@
},
"links": component_links,
"external_links": component_external_links,
- "volumes": volume_list
+ "volumes": component_volume_list
}
if not xos.frontend_only: