Merge "Use unregister_image(id) on unregister"
This commit is contained in:
commit
bef88b13de
|
@ -1,3 +1,3 @@
|
|||
pbr>=0.5.21,<1.0
|
||||
|
||||
python-savannaclient>=0.3
|
||||
python-savannaclient>=0.4.0
|
||||
|
|
|
@ -58,7 +58,7 @@ class UnregisterImages(tables.BatchAction):
|
|||
|
||||
def action(self, request, obj_id):
|
||||
savanna = savannaclient(request)
|
||||
savanna.images.update_image(obj_id, "", "")
|
||||
savanna.images.unregister_image(obj_id)
|
||||
|
||||
|
||||
class ImageRegistryTable(tables.DataTable):
|
||||
|
|
Loading…
Reference in New Issue