From e67c7f030ebebe0db6e4ef309b7c694daa5e6da3 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 9 Oct 2023 12:57:29 -0500 Subject: [PATCH] Missing ENV bindings. --- pkg/snapshot/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/snapshot/config.go b/pkg/snapshot/config.go index 72a4066..8933868 100644 --- a/pkg/snapshot/config.go +++ b/pkg/snapshot/config.go @@ -163,8 +163,10 @@ func (c *ServiceConfig) Init() error { viper.BindEnv(SNAPSHOT_WORKERS_TOML, SNAPSHOT_WORKERS) viper.BindEnv(SNAPSHOT_RECOVERY_FILE_TOML, SNAPSHOT_RECOVERY_FILE) + viper.BindEnv(PROM_DB_STATS_TOML, PROM_DB_STATS) viper.BindEnv(PROM_HTTP_TOML, PROM_HTTP) viper.BindEnv(PROM_HTTP_ADDR_TOML, PROM_HTTP_ADDR) + viper.BindEnv(PROM_HTTP_PORT_TOML, PROM_HTTP_PORT) viper.BindEnv(PROM_METRICS_TOML, PROM_METRICS) viper.BindEnv(SNAPSHOT_ACCOUNTS_TOML, SNAPSHOT_ACCOUNTS) -- 2.45.2