missing env wiring
This commit is contained in:
parent
40146d9da2
commit
b988bf7b59
@ -161,6 +161,8 @@ func (c *ServiceConfig) Init() error {
|
|||||||
viper.BindEnv(SNAPSHOT_BLOCK_HEIGHT_TOML, SNAPSHOT_BLOCK_HEIGHT)
|
viper.BindEnv(SNAPSHOT_BLOCK_HEIGHT_TOML, SNAPSHOT_BLOCK_HEIGHT)
|
||||||
viper.BindEnv(SNAPSHOT_MODE_TOML, SNAPSHOT_MODE)
|
viper.BindEnv(SNAPSHOT_MODE_TOML, SNAPSHOT_MODE)
|
||||||
viper.BindEnv(SNAPSHOT_WORKERS_TOML, SNAPSHOT_WORKERS)
|
viper.BindEnv(SNAPSHOT_WORKERS_TOML, SNAPSHOT_WORKERS)
|
||||||
|
viper.BindEnv(SNAPSHOT_RECOVERY_FILE_TOML, SNAPSHOT_RECOVERY_FILE)
|
||||||
|
|
||||||
viper.BindEnv(PROM_HTTP_TOML, PROM_HTTP)
|
viper.BindEnv(PROM_HTTP_TOML, PROM_HTTP)
|
||||||
viper.BindEnv(PROM_HTTP_ADDR_TOML, PROM_HTTP_ADDR)
|
viper.BindEnv(PROM_HTTP_ADDR_TOML, PROM_HTTP_ADDR)
|
||||||
viper.BindEnv(PROM_METRICS_TOML, PROM_METRICS)
|
viper.BindEnv(PROM_METRICS_TOML, PROM_METRICS)
|
||||||
|
Loading…
Reference in New Issue
Block a user