diff options
author | Victor Morales <victor.morales@intel.com> | 2018-09-10 02:19:43 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-09-10 02:24:08 -0700 |
commit | e7a7b50f6fc0f036eeb116f95e8e5fb8d56aa4ef (patch) | |
tree | ddb30ce6aae8e593f8c6d03f51e2c2058bd6bf21 /src/k8splugin/db/consul.go | |
parent | 5b6f0c4efbfdc0c9bcb440c8da132bdaee4e518d (diff) |
Add no_proxy config value to docker-compose.yml
The no_proxy configuration value was missing in the docker-compose.yml
this was causing a different behaviour when the functional tests were
running and consuming the services on the container.
Change-Id: Ie88e88d50e0ec9c4aa0d03367f2a9d25edccb753
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
Diffstat (limited to 'src/k8splugin/db/consul.go')
-rw-r--r-- | src/k8splugin/db/consul.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/k8splugin/db/consul.go b/src/k8splugin/db/consul.go index 9ab0d826..686d9348 100644 --- a/src/k8splugin/db/consul.go +++ b/src/k8splugin/db/consul.go @@ -26,9 +26,6 @@ type ConsulDB struct { // InitializeDatabase initialized the initial steps func (c *ConsulDB) InitializeDatabase() error { - if os.Getenv("DATABASE_IP") == "" { - return pkgerrors.New("DATABASE_IP environment variable not set.") - } config := consulapi.DefaultConfig() config.Address = os.Getenv("DATABASE_IP") + ":8500" |