Skip to content
Snippets Groups Projects
Commit 64754336 authored by Aurélien Dunand's avatar Aurélien Dunand
Browse files

Fix rescue/unrescue command TQL filter

parent 7185888a
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,7 @@ class Command_rescue(TqlCommand):
def __init__(self, cli, argv0):
TqlCommand.__init__(self, cli, argv0)
self.tql_filter += "&r=vm&status=stopped&rescue=no"
self.tql_filter += "&r=vm&status=stopped&mode=normal"
def __call__(self, argv):
# arg parse
......@@ -318,7 +318,7 @@ class Command_unrescue(TqlCommand):
def __init__(self, cli, argv0):
TqlCommand.__init__(self, cli, argv0)
self.tql_filter += "&r=vm&status=stopped&rescue=yes"
self.tql_filter += "&r=vm&status=stopped&mode=rescue"
def __call__(self, argv):
# arg parse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment