yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06329
[Bug 1236677] Re: swift_get_container should use swiftclient.head_container()
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1236677
Title:
swift_get_container should use swiftclient.head_container()
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
This method is just getting the metadata for the container and never
using the data that's returned:
def swift_get_container(request, container_name):
headers, data = swift_api(request).get_object(container_name, "")
Should probably be:
headers = swift_api(request).head_container(container_name)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1236677/+subscriptions