diff options
Diffstat (limited to 'src/k8splugin/db')
-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" |