diff options
Diffstat (limited to 'gluster/swift/common')
-rw-r--r-- | gluster/swift/common/Glusterfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gluster/swift/common/Glusterfs.py b/gluster/swift/common/Glusterfs.py index a0c8126..ba6bcf1 100644 --- a/gluster/swift/common/Glusterfs.py +++ b/gluster/swift/common/Glusterfs.py @@ -55,7 +55,7 @@ def _busy_wait(full_mount_path): # Iterate for definite number of time over a given # interval for successful mount for i in range(0, 5): - if os.path.ismount(os.path.join(full_mount_path)): + if os.path.ismount(full_mount_path): return True time.sleep(2) logging.error('Busy wait for mount timed out for mount %s', full_mount_path) |