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:
parent
fe2afcb872
commit
4a2134a9ca
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue