Skip to content
Snippets Groups Projects
Commit b6e243ab authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix gnt-instance reinstall


Commit 55efe6da "Convert instance
reinstall to multi instance model" actually broke instance reinstall for
single-instance cases. This one-liner fixes it.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent dd7db360
No related branches found
No related tags found
No related merge requests found
...@@ -553,7 +553,7 @@ def ReinstallInstance(opts, args): ...@@ -553,7 +553,7 @@ def ReinstallInstance(opts, args):
else: else:
if not opts.force: if not opts.force:
usertext = ("This will reinstall the instance %s and remove" usertext = ("This will reinstall the instance %s and remove"
" all data. Continue?") % instance_name " all data. Continue?") % inames[0]
if not AskUser(usertext): if not AskUser(usertext):
return 1 return 1
......
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