summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glustolibs-io/glustolibs/io/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-io/glustolibs/io/utils.py b/glustolibs-io/glustolibs/io/utils.py
index afee86acc..6f9f642e3 100644
--- a/glustolibs-io/glustolibs/io/utils.py
+++ b/glustolibs-io/glustolibs/io/utils.py
@@ -212,7 +212,7 @@ def view_snaps_from_mount(mounts, snaps):
_rc = False
continue
- for snap_name in snap_list:
+ for snap_name in snaps:
if snap_name not in snap_list:
g.log.error("Failed to list snap %s in '.snaps' dir on "
"%s:%s - %s", snap_name,