Merge pull request #7633 from roidelapluie/anotherfix

DigitalOcean, Docker Swarm: properly load files
This commit is contained in:
Björn Rabenstein 2020-07-22 01:04:45 +02:00 committed by GitHub
commit d29b40d80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
} }