summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2012-06-11 16:39:17 +0530
committerPeter Portante <peter.portante@redhat.com>2013-04-29 16:35:55 -0400
commit1e7b5f57aa9a69b3f325bdb1e01cb0bad597c371 (patch)
treea32c70a092c63c36a0b3ef39f940826156618ab1
parentd3aa222c5c2b62f1dfd325830d5c4a5cfd75a8e7 (diff)
swift: Donot display async_pending container.
async_pending container is for internal, should not be exposed to the users on a GET. Change-Id: I460242667ae0cb5e96d4c63296f0bae4bb83b28e BUG: 829137 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.com/3547 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--swift/1.4.8/plugins/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift/1.4.8/plugins/utils.py b/swift/1.4.8/plugins/utils.py
index b2bd511..d8fc7a4 100644
--- a/swift/1.4.8/plugins/utils.py
+++ b/swift/1.4.8/plugins/utils.py
@@ -515,7 +515,7 @@ def get_account_details_from_fs(acc_path, memcache=None):
if os.path.isdir(acc_path):
for name in do_listdir(acc_path):
if not os.path.isdir(acc_path + '/' + name) or \
- name.lower() == 'tmp':
+ name.lower() == 'tmp' or name.lower() == 'async_pending':
continue
container_count += 1
container_list.append(name)