summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/commands/component
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-cli/dcae_cli/commands/component')
-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)