Remove the redundant attributes
DeleteInstance action inherits from tables.DeleteAction, So remove the unused attributes. Change-Id: I426820596c186cf216583014c6be0d57426fc10e
This commit is contained in:
@@ -55,10 +55,6 @@ class DeleteInstance(tables.DeleteAction):
|
||||
count
|
||||
)
|
||||
|
||||
name = "delete"
|
||||
classes = ("btn-danger", )
|
||||
icon = "remove"
|
||||
|
||||
def delete(self, request, obj_id):
|
||||
api.trove.instance_delete(request, obj_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user