Merge "resize action don't support revert"

This commit is contained in:
Zuul
2020-07-06 01:48:00 +00:00
committed by Gerrit Code Review

View File

@@ -95,7 +95,7 @@ class Resize(base.BaseAction):
return self.resize() return self.resize()
def revert(self): def revert(self):
return self.migrate(destination=self.source_node) LOG.warning("revert not supported")
def pre_condition(self): def pre_condition(self):
# TODO(jed): check if the instance exists / check if the instance is on # TODO(jed): check if the instance exists / check if the instance is on