Skip to content
Snippets Groups Projects
Commit b8f31860 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>
(cherry picked from commit b6e243ab)
parent 6af6270a
No related branches found
No related tags found
No related merge requests found
...@@ -554,7 +554,7 @@ def ReinstallInstance(opts, args): ...@@ -554,7 +554,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