diff options
author | Mohammed Junaid <junaid@redhat.com> | 2012-06-11 16:39:17 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-06-11 07:48:00 -0700 |
commit | 72301d4d542e5960c7f48832887b60c7dfff136f (patch) | |
tree | affed910fc30089ff66dc965a4434b17f1d96265 /swift | |
parent | cd439e79ca7b3b26b11fb894220550156936c354 (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>
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 b2bd51128..d8fc7a436 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) |