From f3daa0bda0aa429cbf148fcef41cf34564828e4d Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Mon, 29 Oct 2012 19:47:57 -0400 Subject: object-storage: fix bad refs to REMOTE_CLUSTER Change-Id: I07cd997ef9a98645a87792632f9dd612928678b7 Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/4170 Reviewed-by: Pete Zaitcev Reviewed-by: Mohammed Junaid Tested-by: Kaleb KEITHLEY --- swift/1.4.8/plugins/Glusterfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swift') diff --git a/swift/1.4.8/plugins/Glusterfs.py b/swift/1.4.8/plugins/Glusterfs.py index 69902d85d..11eca56ee 100644 --- a/swift/1.4.8/plugins/Glusterfs.py +++ b/swift/1.4.8/plugins/Glusterfs.py @@ -105,13 +105,13 @@ def unmount(full_mount_path): def get_export_list(): global mount_ip - if remote_cluster: + if REMOTE_CLUSTER: cmnd = 'ssh %s gluster volume info' % mount_ip else: cmnd = 'gluster volume info' if os.system(cmnd + ' >> /dev/null'): - if remove_cluster: + if REMOTE_CLUSTER: raise Exception('Getting volume info failed %s, make sure to have \ passwordless ssh on %s', NAME, mount_ip) else: -- cgit