mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 23:13:11 +00:00
DigitalOcean, Docker Swarm: properly load files
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
113d1672dc
commit
0cca23d3ed
@ -179,6 +179,12 @@ func resolveFilepaths(baseDir string, cfg *Config) {
|
||||
for _, consulcfg := range cfg.ConsulSDConfigs {
|
||||
tlsPaths(&consulcfg.TLSConfig)
|
||||
}
|
||||
for _, digitaloceancfg := range cfg.DigitalOceanSDConfigs {
|
||||
clientPaths(&digitaloceancfg.HTTPClientConfig)
|
||||
}
|
||||
for _, dockerswarmcfg := range cfg.DockerSwarmSDConfigs {
|
||||
clientPaths(&dockerswarmcfg.HTTPClientConfig)
|
||||
}
|
||||
for _, cfg := range cfg.OpenstackSDConfigs {
|
||||
tlsPaths(&cfg.TLSConfig)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user