summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/commands
diff options
context:
space:
mode:
authortb2541onap <tb2541@att.com>2018-10-15 13:26:39 -0400
committertb2541onap <tb2541@att.com>2018-10-15 13:36:53 -0400
commitc306f8990406933d1a10eaa46cc9a045bd0d7f03 (patch)
treea1cad2a4cf26093d7cb4c2a6fa2a6914711cf6ed /dcae-cli/dcae_cli/commands
parent1943cd6c3fd5b70209089d9d2135ffb344f0405a (diff)
Policy Reconfiguration change to function parms
Updated 2 Policy Reconfig functions to use a passed parameter Parameter needed since “consul_host” variable had been removed Change-Id: I1e967cbf1de2c832679be6e2d120a278cd48a5d4 Issue-ID: DCAEGEN2-576 Signed-off-by: tb2541onap <tb2541@att.com>
Diffstat (limited to 'dcae-cli/dcae_cli/commands')
-rw-r--r--dcae-cli/dcae_cli/commands/component/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcae-cli/dcae_cli/commands/component/commands.py b/dcae-cli/dcae_cli/commands/component/commands.py
index d91027f..b2483d1 100644
--- a/dcae-cli/dcae_cli/commands/component/commands.py
+++ b/dcae-cli/dcae_cli/commands/component/commands.py
@@ -374,13 +374,13 @@ def reconfig(obj, policy_file, component):
click.echo("")
return
- kvUpdated = dis.policy_update(policy_change_file)
+ kvUpdated = dis.policy_update(policy_change_file, dis.default_consul_host())
if kvUpdated:
active_profile = profiles.get_profile()
docker_logins = dis.get_docker_logins()
- command = dis.build_policy_command(policy_reconfig_path, policy_change_file)
+ command = dis.build_policy_command(policy_reconfig_path, policy_change_file, dis.default_consul_host())
# Run the Policy Reconfig script
client = du.get_docker_client(active_profile, docker_logins)