Browse Source

Merge pull request #7633 from roidelapluie/anotherfix

DigitalOcean, Docker Swarm: properly load files
pull/7641/head
Björn Rabenstein 4 years ago committed by GitHub
parent
commit
d29b40d80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      config/config.go

6
config/config.go

@ -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…
Cancel
Save