From 0b36661caa4c32d652614f256b41644ade09a937 Mon Sep 17 00:00:00 2001 From: Michael Hwang Date: Thu, 12 Apr 2018 10:24:30 -0400 Subject: Change consul host to be "consul" And not localhost Change-Id: I68c1cb4bf52e0a39a256c0adc4b6b8fb0db269ac Issue-ID: DCAEGEN2-442 Signed-off-by: Michael Hwang --- docker/dockerplugin/tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docker/dockerplugin') 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. -- cgit 1.2.3-korg