Commit 5e66b7e6 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a bug in interactive confirmation of instances

This oneliner fixes a bug in listing more than twenty instances for
multiple operations (shutdown, startup, etc.).

Reviewed-by: imsnah
parent 6e12fa3c
...@@ -131,7 +131,7 @@ def _ConfirmOperation(inames, text): ...@@ -131,7 +131,7 @@ def _ConfirmOperation(inames, text):
choice = AskUser(ask, choices) choice = AskUser(ask, choices)
if choice == 'v': if choice == 'v':
choices.pop(1) choices.pop(1)
choice = AskUser(choices, msg + affected) choice = AskUser(msg + affected, choices)
return choice return choice
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