Commit 7db266bb authored by Daniel Krambrock's avatar Daniel Krambrock Committed by Guido Trotter
Browse files

GanetiRapiClient: fix the no_remember option



There was a typo which prevented the correct option from being passed to
RAPI
Signed-off-by: default avatarDaniel Krambrock <danielk_lists@z9d.de>
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 2d6bdcc5
......@@ -1045,7 +1045,7 @@ class GanetiRapiClient(object): # pylint: disable=R0904
body = kwargs
_AppendDryRunIf(query, dry_run)
_AppendIf(query, no_remember, ("no-remember", 1))
_AppendIf(query, no_remember, ("no_remember", 1))
return self._SendRequest(HTTP_PUT,
("/%s/instances/%s/shutdown" %
......@@ -1066,7 +1066,7 @@ class GanetiRapiClient(object): # pylint: disable=R0904
"""
query = []
_AppendDryRunIf(query, dry_run)
_AppendIf(query, no_remember, ("no-remember", 1))
_AppendIf(query, no_remember, ("no_remember", 1))
return self._SendRequest(HTTP_PUT,
("/%s/instances/%s/startup" %
......
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