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
......@@ -553,7 +553,7 @@ def ReinstallInstance(opts, args):
else:
if not opts.force:
usertext = ("This will reinstall the instance %s and remove"
" all data. Continue?") % instance_name
" all data. Continue?") % inames[0]
if not AskUser(usertext):
return 1
......
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