Skip to content

Commit

Permalink
Merge pull request #56 from GiedriusS/fix_env_cfg
Browse files Browse the repository at this point in the history
config: fix env directive
  • Loading branch information
blind-oracle authored Dec 6, 2023
2 parents 94043a3 + dad2adb commit c7c7db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit c7c7db7

Please sign in to comment.