fix(configuration): expvars and pprof mapped incorrectly (#3068)

This fixes the configuration mapping of the server enable_pprof and enable_expvars values.
This commit is contained in:
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

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"`