Fixes docker swarm mode refresh second for KV.
This commit is contained in:
parent
0de1ff8634
commit
5d4423910d
1 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,12 @@ func (c *Configuration) SetEffectiveConfiguration(configFile string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if c.Providers.Docker != nil {
|
||||||
|
if c.Providers.Docker.SwarmModeRefreshSeconds <= 0 {
|
||||||
|
c.Providers.Docker.SwarmModeRefreshSeconds = 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if c.Providers.File != nil {
|
if c.Providers.File != nil {
|
||||||
c.Providers.File.TraefikFile = configFile
|
c.Providers.File.TraefikFile = configFile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue