Merge "Fixed an incorrect call to the artifacts client"

This commit is contained in:
Jenkins 2015-12-01 21:02:51 +00:00 committed by Gerrit Code Review
commit 7dded14208
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class ArtifactRepo(object):
new_props['keywords'] = new_keywords
visibility = new_props.get('visibility')
if visibility == 'public':
package = self.client.get(app_id)
package = self.client.artifacts.get(app_id)
# NOTE(ativelkov): this is very racy, but until we have a chance to
# enforce uniqueness right in glance this is the only way to do it
existing = self.list(name=package.name,