diff options
author | Michael Hwang <mhwang@research.att.com> | 2018-02-08 17:26:40 -0500 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2018-02-08 17:27:45 -0500 |
commit | 0f1b9a1a06593919e497acbb5bb835244e8c774d (patch) | |
tree | 810c6ca67a3acd99e03b8ae36240afe61160b14d /dcae-cli/dcae_cli/util/profiles.py | |
parent | 533e7d75cefbe0a839163c77c7c509a1e43aa9b6 (diff) |
Fix issues with initialization
Change-Id: Ib9520e4f5bd1d257a9281a60ea55c5fd2704e948
Issue-ID: DCAEGEN2-322
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'dcae-cli/dcae_cli/util/profiles.py')
-rw-r--r-- | dcae-cli/dcae_cli/util/profiles.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dcae-cli/dcae_cli/util/profiles.py b/dcae-cli/dcae_cli/util/profiles.py index 34580d6..721b0aa 100644 --- a/dcae-cli/dcae_cli/util/profiles.py +++ b/dcae-cli/dcae_cli/util/profiles.py @@ -103,8 +103,9 @@ def reinit_profiles(): # a problem. Just continue and give user the option to use an empty # default. if click.confirm("Could not download initial profiles from remote server. Set empty default?"): - new_profiles = {"default": { "consul_host": "", "config_binding_service": "", - "cdap_broker": "", "docker_host": ""}} + new_profiles = {"default": { "consul_host": "", + "config_binding_service": "config_binding_service", + "cdap_broker": "cdap_broker", "docker_host": ""}} else: raise ProfilesInitError("Could not setup dcae-cli profiles") |