From 72301d4d542e5960c7f48832887b60c7dfff136f Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Date: Mon, 11 Jun 2012 16:39:17 +0530 Subject: 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 Reviewed-on: http://review.gluster.com/3547 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- swift/1.4.8/plugins/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swift') 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) -- cgit