diff options
author | Mohammed Junaid <junaid@redhat.com> | 2012-06-11 16:39:17 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-06-11 08:38:48 -0700 |
commit | 7ded1a6e11dae194f04d8717125ff5c18066731e (patch) | |
tree | 9820d1aee86060832251abe2fd063a704a559874 /swift | |
parent | 93e9c02599e710bac112ac19ac4932ac4ad52a25 (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/3546
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'swift')
-rw-r--r-- | swift/1.4.8/plugins/utils.py | 2 |
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 b2bd5112880..d8fc7a43615 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) |