Merge "Don't throw valueerror on bootstrap"

This commit is contained in:
Zuul 2019-05-29 13:01:02 +00:00 committed by Gerrit Code Review
commit 2eeb8d5cd5
1 changed files with 2 additions and 2 deletions

View File

@ -152,9 +152,9 @@ class BootStrap(BaseApp):
self.endpoints = None
if self.password is None:
print(_('Either --bootstrap-password argument or '
print(_('ERROR: Either --bootstrap-password argument or '
'OS_BOOTSTRAP_PASSWORD must be set.'))
raise ValueError
sys.exit(1)
self.bootstrapper.admin_password = self.password
self.bootstrapper.admin_username = self.username