diff options
author | Peter Portante <peter.portante@redhat.com> | 2012-10-29 19:47:57 -0400 |
---|---|---|
committer | Peter Portante <peter.portante@redhat.com> | 2013-04-29 16:35:56 -0400 |
commit | a1ab2432344b633ae821ecb7f68418e7d254b260 (patch) | |
tree | 15fe3b6fe24e2f52ffe2a6e50992f4a5c4658cf8 | |
parent | 4f7b524287dfd1b4008bab8d62b1880c86851b73 (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 69902d8..11eca56 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: |