From 1667046f5802e52f9d60fed8752879c8ad0b6849 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Thu, 2 Jul 2020 14:48:55 +0800
Subject: [PATCH] resize action don't support revert
Change-Id: Ia2df0e0a4f242392915aa2a89d4fbae39b6c70e9
---
watcher/applier/actions/resize.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/watcher/applier/actions/resize.py b/watcher/applier/actions/resize.py
index 935dbd0fa..34ca1c2c9 100644
--- a/watcher/applier/actions/resize.py
+++ b/watcher/applier/actions/resize.py
@@ -95,7 +95,7 @@ class Resize(base.BaseAction):
return self.resize()
def revert(self):
- return self.migrate(destination=self.source_node)
+ LOG.warning("revert not supported")
def pre_condition(self):
# TODO(jed): check if the instance exists / check if the instance is on