mirror of
https://github.com/containous/traefik.git
synced 2025-01-08 21:17:56 +03:00
Fixes docker swarm mode refresh second for KV.
This commit is contained in:
parent
0de1ff8634
commit
5d4423910d
@ -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 New Issue
Block a user