Merge "Use openstack-images-v2.1-json-patch for update method"

This commit is contained in:
Jenkins
2013-09-19 17:55:45 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class Controller(object):
delattr(image, key)
url = '/v2/images/%s' % image_id
hdrs = {'Content-Type': 'application/openstack-images-v2.0-json-patch'}
hdrs = {'Content-Type': 'application/openstack-images-v2.1-json-patch'}
self.http_client.raw_request('PATCH', url,
headers=hdrs,
body=image.patch)