def handle(self, request, data):
     image_id = data['image_id']
     try:
         api.image_delete(request, image_id)
     except glance_exception.ClientConnectionError, e:
         LOG.error("Error connecting to glance", exc_info=True)
         messages.error(request,
                        "Error connecting to glance: %s" % e.message)
Пример #2
0
 def delete(self, request, obj_id):
     api.image_delete(request, obj_id)
Пример #3
0
 def delete(self, request, obj_id):
     api.image_delete(request, obj_id)