Merge "MultiStore: Avoid potential KeyError in functional tests"

This commit is contained in:
Zuul 2019-07-20 11:27:42 +00:00 committed by Gerrit Code Review
commit 9bb432c30d

View File

@ -67,7 +67,7 @@ class ImageRepoProxy(glance.domain.proxy.Repo):
for location in image.locations:
if CONF.enabled_backends:
self.store_api.set_acls_for_multi_store(
location['url'], location['metadata']['backend'],
location['url'], location['metadata'].get('backend'),
public=public, read_tenants=member_ids,
context=self.context
)