mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
Merge pull request #7633 from roidelapluie/anotherfix
DigitalOcean, Docker Swarm: properly load files
This commit is contained in:
commit
d29b40d80e
|
@ -179,6 +179,12 @@ func resolveFilepaths(baseDir string, cfg *Config) {
|
||||||
for _, consulcfg := range cfg.ConsulSDConfigs {
|
for _, consulcfg := range cfg.ConsulSDConfigs {
|
||||||
tlsPaths(&consulcfg.TLSConfig)
|
tlsPaths(&consulcfg.TLSConfig)
|
||||||
}
|
}
|
||||||
|
for _, digitaloceancfg := range cfg.DigitalOceanSDConfigs {
|
||||||
|
clientPaths(&digitaloceancfg.HTTPClientConfig)
|
||||||
|
}
|
||||||
|
for _, dockerswarmcfg := range cfg.DockerSwarmSDConfigs {
|
||||||
|
clientPaths(&dockerswarmcfg.HTTPClientConfig)
|
||||||
|
}
|
||||||
for _, cfg := range cfg.OpenstackSDConfigs {
|
for _, cfg := range cfg.OpenstackSDConfigs {
|
||||||
tlsPaths(&cfg.TLSConfig)
|
tlsPaths(&cfg.TLSConfig)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue