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:
parent
f697870ed5
commit
023919e0fd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user