summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index e1bebfc90..71d7627d5 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -1760,8 +1760,6 @@ class AggregateAPI(base.Base):
raise exception.InvalidAggregateAction(action='delete',
aggregate_id=aggregate_id,
reason='not empty')
- values = {'operational_state': aggregate_states.DISMISSED}
- self.db.aggregate_update(context, aggregate_id, values)
self.db.aggregate_delete(context, aggregate_id)
def add_host_to_aggregate(self, context, aggregate_id, host):