From cd6e739dc24944457eeb51c2077423f32ccc4632 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Mon, 7 Oct 2019 21:18:27 +0500 Subject: [PATCH] envconfig isn't used here. --- internal/configuration/fileconfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/configuration/fileconfig.go b/internal/configuration/fileconfig.go index ecb5d1a..8634620 100644 --- a/internal/configuration/fileconfig.go +++ b/internal/configuration/fileconfig.go @@ -26,11 +26,11 @@ type fileConfig struct { AllowedIPs []string allowedipsmutex sync.RWMutex // Listen is an address on which HTTP server will listen. - Listen string `envconfig:"default=127.0.0.1:62222"` + Listen string // WaitForSeconds is a timeout during which we will wait for // HTTP server be up. If timeout will pass and HTTP server won't // start processing requests - giredore will exit. - WaitForSeconds int `envconfig:"default=10"` + WaitForSeconds int } // Packages describes packages mapping. Packages map[string]*structs.Package