Merge "enable N/Y as valiable input for Distributed Cloud Configuration"

This commit is contained in:
Zuul 2019-03-25 14:14:08 +00:00 committed by Gerrit Code Review
commit bb33059717
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ class ConfigAssistant():
}
user_input = prompt_for(
"Configure Distributed Cloud System Controller [y/N]: ", 'n',
lambda text: "Invalid choice" if text not in value_mapping
lambda text: "Invalid choice" if text.lower() not in value_mapping
else None
)
self.system_dc_role = value_mapping[user_input.lower()]