fix(configuration): expvars and pprof mapped incorrectly (#3068)
This fixes the configuration mapping of the server enable_pprof and enable_expvars values.pull/3067/head^2
parent
e96459f5d9
commit
a0bffe39fc
|
@ -8,8 +8,8 @@ type ServerConfiguration struct {
|
||||||
AssetPath string `koanf:"asset_path"`
|
AssetPath string `koanf:"asset_path"`
|
||||||
ReadBufferSize int `koanf:"read_buffer_size"`
|
ReadBufferSize int `koanf:"read_buffer_size"`
|
||||||
WriteBufferSize int `koanf:"write_buffer_size"`
|
WriteBufferSize int `koanf:"write_buffer_size"`
|
||||||
EnablePprof bool `koanf:"enable_endpoint_pprof"`
|
EnablePprof bool `koanf:"enable_pprof"`
|
||||||
EnableExpvars bool `koanf:"enable_endpoint_expvars"`
|
EnableExpvars bool `koanf:"enable_expvars"`
|
||||||
DisableHealthcheck bool `koanf:"disable_healthcheck"`
|
DisableHealthcheck bool `koanf:"disable_healthcheck"`
|
||||||
|
|
||||||
TLS ServerTLSConfiguration `koanf:"tls"`
|
TLS ServerTLSConfiguration `koanf:"tls"`
|
||||||
|
|
Loading…
Reference in New Issue