From dad2adb8a6385cd2414fa387b41021d9250b5cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Wed, 29 Nov 2023 11:36:10 +0200 Subject: [PATCH] config: fix env directive There needs to be no space between : and " otherwise this doesn't work. --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 70a41e8..9b02490 100644 --- a/config.go +++ b/config.go @@ -14,8 +14,8 @@ import ( type config struct { Listen string `env:"CT_LISTEN"` ListenPprof string `yaml:"listen_pprof" env:"CT_LISTEN_PPROF"` - ListenMetricsAddress string `yaml:"listen_metrics_address" env: "CT_LISTEN_METRICS_ADDRESS"` - MetricsIncludeTenant bool `yaml:"metrics_include_tenant" env: "CT_METRICS_INCLUDE_TENANT"` + ListenMetricsAddress string `yaml:"listen_metrics_address" env:"CT_LISTEN_METRICS_ADDRESS"` + MetricsIncludeTenant bool `yaml:"metrics_include_tenant" env:"CT_METRICS_INCLUDE_TENANT"` Target string `env:"CT_TARGET"` EnableIPv6 bool `yaml:"enable_ipv6" env:"CT_ENABLE_IPV6"`