1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-03-03 15:32:37 +02:00

fix erroneous poll interval change

This commit is contained in:
Simon Aronsson 2020-12-07 20:01:26 +01:00
parent cb62b16369
commit f697870ed5
No known key found for this signature in database
GPG Key ID: 8DA57A5FD341605B

View File

@ -304,7 +304,7 @@ func SetDefaults() {
viper.AutomaticEnv()
viper.SetDefault("DOCKER_HOST", "unix:///var/run/docker.sock")
viper.SetDefault("DOCKER_API_VERSION", DockerAPIMinVersion)
viper.SetDefault("WATCHTOWER_POLL_INTERVAL", day)
viper.SetDefault("WATCHTOWER_POLL_INTERVAL", day.Seconds())
viper.SetDefault("WATCHTOWER_TIMEOUT", time.Second*10)
viper.SetDefault("WATCHTOWER_NOTIFICATIONS", []string{})
viper.SetDefault("WATCHTOWER_NOTIFICATIONS_LEVEL", "info")