Do not return the config download path but only print it

Returning the config download path is wrong because its return
a wrong RC to the cli
We just have to print the path to the console

Change-Id: Ic633361c144964722099774d85006394b44b4d9d
(cherry picked from commit 8b071e55fc)
This commit is contained in:
Mathieu Bultel 2017-10-24 11:33:45 +02:00 committed by Emilien Macchi
parent fe2afcb872
commit 4a2134a9ca
1 changed files with 3 additions and 1 deletions

View File

@ -61,4 +61,6 @@ class DownloadConfig(command.Command):
config_type = parsed_args.config_type
# Get config
config = ooo_config.Config(clients.orchestration)
return config.download_config(name, config_dir, config_type)
config_path = config.download_config(name, config_dir, config_type)
print("The TripleO configuration has been successfully generated "
"into: {0}".format(config_path))