From 05f42f0cb866b0aaa7dea0e5d623bc0b6ae20259 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 7 Jan 2022 15:00:23 +0000 Subject: [PATCH] fix(httpproxy): `HTTPPROXY_PORT` variable key --- internal/configuration/sources/env/httproxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/configuration/sources/env/httproxy.go b/internal/configuration/sources/env/httproxy.go index b7b87b41..e8d7857b 100644 --- a/internal/configuration/sources/env/httproxy.go +++ b/internal/configuration/sources/env/httproxy.go @@ -85,9 +85,9 @@ func (r *Reader) readHTTProxyListeningAddress() (listeningAddress string) { } // Retro-compatibility - s = os.Getenv("HTTPPROXY_PORT") + s = os.Getenv("HTTPROXY_PORT") if s != "" { - r.onRetroActive("HTTPPROXY_PORT", "HTTPPROXY_LISTENING_ADDRESS") + r.onRetroActive("HTTPROXY_PORT", "HTTPPROXY_LISTENING_ADDRESS") return ":" + s }