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
James Elliott 2022-03-28 13:06:31 +11:00 committed by GitHub
parent e96459f5d9
commit a0bffe39fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ type ServerConfiguration struct {
AssetPath string `koanf:"asset_path"`
ReadBufferSize int `koanf:"read_buffer_size"`
WriteBufferSize int `koanf:"write_buffer_size"`
EnablePprof bool `koanf:"enable_endpoint_pprof"`
EnableExpvars bool `koanf:"enable_endpoint_expvars"`
EnablePprof bool `koanf:"enable_pprof"`
EnableExpvars bool `koanf:"enable_expvars"`
DisableHealthcheck bool `koanf:"disable_healthcheck"`
TLS ServerTLSConfiguration `koanf:"tls"`