Revision f5f35422 kamaki/clients/compute/__init__.py
b/kamaki/clients/compute/__init__.py | ||
---|---|---|
233 | 233 |
""" |
234 | 234 |
:param image_id: (str) |
235 | 235 |
""" |
236 |
self.images_delete(image_id) |
|
236 |
r = self.images_delete(image_id) |
|
237 |
return r.headers |
|
237 | 238 |
|
238 | 239 |
def get_image_metadata(self, image_id, key=''): |
239 | 240 |
""" |
... | ... | |
280 | 281 |
:param key: (str) metadatum key |
281 | 282 |
""" |
282 | 283 |
command = path4url('meta', key) |
283 |
self.images_delete(image_id, command) |
|
284 |
r = self.images_delete(image_id, command) |
|
285 |
return r.headers |
Also available in: Unified diff