Remove the redundant codes
DeleteInstance action inherits from tables.DeleteAction, the tables.DeleteAction has already define some attributes. So this patch remove the repeated attributes. Change-Id: I7cab3cf609b75e483d5507af113501aa957436c5
This commit is contained in:
parent
308b8c4d67
commit
f7165967b5
@ -21,9 +21,6 @@ import disaster_recovery.api.api as freezer_api
|
||||
|
||||
|
||||
class DeleteAction(tables.DeleteAction):
|
||||
name = "delete"
|
||||
classes = ("btn-danger",)
|
||||
icon = "remove"
|
||||
help_text = _("Delete actions is not recoverable.")
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user