diff options
author | Peter Portante <peter.portante@redhat.com> | 2012-10-29 19:47:57 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-11-16 04:42:34 -0800 |
commit | f3daa0bda0aa429cbf148fcef41cf34564828e4d (patch) | |
tree | 9965d21c16d24fbc0ba7c00812dfc97994cce113 | |
parent | ee28eaee7f75853d99eeee1773805cbcaabe32c6 (diff) |
object-storage: fix bad refs to REMOTE_CLUSTER
Change-Id: I07cd997ef9a98645a87792632f9dd612928678b7
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/4170
Reviewed-by: Pete Zaitcev <zaitcev@redhat.com>
Reviewed-by: Mohammed Junaid <junaid@redhat.com>
Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
-rw-r--r-- | swift/1.4.8/plugins/Glusterfs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swift/1.4.8/plugins/Glusterfs.py b/swift/1.4.8/plugins/Glusterfs.py index 69902d85d48..11eca56ee14 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: |