diff options
Diffstat (limited to 'openstack_dashboard/dashboards/project/instances/tables.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/instances/tables.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/openstack_dashboard/dashboards/project/instances/tables.py b/openstack_dashboard/dashboards/project/instances/tables.py index 4ed11704b..3f52f6cc4 100644 --- a/openstack_dashboard/dashboards/project/instances/tables.py +++ b/openstack_dashboard/dashboards/project/instances/tables.py @@ -101,9 +101,6 @@ class DeleteInstance(policy.PolicyTargetMixin, tables.DeleteAction): ) def allowed(self, request, instance=None): - """Allow delete action if instance is in error state or not currently - being deleted. - """ error_state = False if instance: error_state = (instance.status == 'ERROR') |