summaryrefslogtreecommitdiffstats
path: root/docker/dockerplugin/tasks.py
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2018-04-12 10:24:30 -0400
committerMichael Hwang <mhwang@research.att.com>2018-04-12 15:30:11 -0400
commit0b36661caa4c32d652614f256b41644ade09a937 (patch)
tree3039853bb9d204a6e4fe38b445bbfbd2e214e4b4 /docker/dockerplugin/tasks.py
parentaf26b8bb3e0145a093f84be270755cc2d475317e (diff)
Change consul host to be "consul"
And not localhost Change-Id: I68c1cb4bf52e0a39a256c0adc4b6b8fb0db269ac Issue-ID: DCAEGEN2-442 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'docker/dockerplugin/tasks.py')
-rw-r--r--docker/dockerplugin/tasks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/dockerplugin/tasks.py b/docker/dockerplugin/tasks.py
index d64a65c..03eba62 100644
--- a/docker/dockerplugin/tasks.py
+++ b/docker/dockerplugin/tasks.py
@@ -35,9 +35,9 @@ from dockerplugin import utils
# TODO: Remove this Docker port hardcoding and query for this port instead
DOCKER_PORT = 2376
-# Always use the local Consul agent for interfacing with Consul from the plugin.
-# Safe to assume that its always there.
-CONSUL_HOST = "localhost"
+# Rely on the setup of the cloudify manager host to resolve "consul" for the
+# plugin. NOTE: This variable is not passed to components.
+CONSUL_HOST = "consul"
# Used to construct delivery urls for data router subscribers. Data router in FTL
# requires https but this author believes that ONAP is to be defaulted to http.