Commit d98a80cb authored by David Johnson's avatar David Johnson

Fix minor bug in should_delete_nodes.

parent 2cfe3e9c
......@@ -1597,6 +1597,9 @@ class SimpleElasticSliceManager(ElasticSliceManager,
return manifest
def should_delete_nodes(self,cm=None):
if not cm:
cm = self.default_cm
if self.is_deleting(cm=cm):
LOG.debug("cm=%s already deleting, skipping" % (cm,))
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment