From 8d77d9f0311e34cd18720ea1e211c30fa0c53023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Thu, 18 Jun 2015 14:04:19 +0200 Subject: [PATCH] Use rescue tag for rescue/unrescue commands --- cloudcontrol/cli/commands/vm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudcontrol/cli/commands/vm.py b/cloudcontrol/cli/commands/vm.py index 6304837..23289fa 100644 --- a/cloudcontrol/cli/commands/vm.py +++ b/cloudcontrol/cli/commands/vm.py @@ -270,7 +270,7 @@ class Command_rescue(TqlCommand): def __init__(self, cli, argv0): TqlCommand.__init__(self, cli, argv0) - self.tql_filter += "&r=vm&status=stopped" + self.tql_filter += "&r=vm&status=stopped&rescue=no" def __call__(self, argv): # arg parse @@ -288,7 +288,7 @@ class Command_unrescue(TqlCommand): def __init__(self, cli, argv0): TqlCommand.__init__(self, cli, argv0) - self.tql_filter += "&r=vm&status=stopped" + self.tql_filter += "&r=vm&status=stopped&rescue=yes" def __call__(self, argv): # arg parse -- GitLab