Format URL when updating image props in Glance v1
With Glance v1, there is a formatting error when calling the service. Story: #2003884 Task: #26746 Change-Id: Ia676c399f3d026b6599fc795988d4ac2c45dafdf
This commit is contained in:
@@ -5023,7 +5023,7 @@ class OpenStackCloud(_normalize.Normalizer):
|
||||
if not img_props:
|
||||
return False
|
||||
self._image_client.put(
|
||||
'/images/{id}'.format(image.id), headers=img_props)
|
||||
'/images/{id}'.format(id=image.id), headers=img_props)
|
||||
self.list_images.invalidate(self)
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user