1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00

actually fix it

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

View File

@ -300,7 +300,7 @@ Should only be used for testing.`)
// SetDefaults provides default values for environment variables
func SetDefaults() {
day := time.Hour * 24 / time.Second
day := time.Hour * 24
viper.AutomaticEnv()
viper.SetDefault("DOCKER_HOST", "unix:///var/run/docker.sock")
viper.SetDefault("DOCKER_API_VERSION", DockerAPIMinVersion)