fix eureka_sd_configs HTTPClientConfig incorrect parsing (#1350)

This commit is contained in:
Hason Chan 2021-06-04 16:47:17 +08:00 committed by Aliaksandr Valialkin
parent c53a90e5fc
commit 439c2ed510

View file

@ -17,7 +17,7 @@ const appsAPIPath = "/apps"
// See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#eureka
type SDConfig struct {
Server string `yaml:"server,omitempty"`
HTTPClientConfig promauth.HTTPClientConfig `ymal:",inline"`
HTTPClientConfig promauth.HTTPClientConfig `yaml:",inline"`
ProxyURL proxy.URL `yaml:"proxy_url,omitempty"`
ProxyClientConfig promauth.ProxyClientConfig `yaml:",inline"`
// RefreshInterval time.Duration `yaml:"refresh_interval"`