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>
This commit is contained in:
parent
cd439e79ca
commit
72301d4d54
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user