Display all the possible server values.

Change-Id: I53d8330247ccd8f1c677a2e45dc35098fee0a162
This commit is contained in:
Dougal Matthews 2016-12-08 09:26:18 +00:00
parent c9bbe55355
commit 8a52e9e8fc

View File

@ -194,7 +194,7 @@ def main():
# Validate launch option.
if set(cfg.CONF.server) - set(LAUNCH_OPTIONS.keys()):
raise Exception('Valid options are all or any combination of '
'api, engine, and executor.')
', '.join(LAUNCH_OPTIONS.keys()))
# Launch distinct set of server(s).
launch_any(set(cfg.CONF.server))