mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
actually fix it
This commit is contained in:
parent
f697870ed5
commit
023919e0fd
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ Should only be used for testing.`)
|
||||||
|
|
||||||
// SetDefaults provides default values for environment variables
|
// SetDefaults provides default values for environment variables
|
||||||
func SetDefaults() {
|
func SetDefaults() {
|
||||||
day := time.Hour * 24 / time.Second
|
day := time.Hour * 24
|
||||||
viper.AutomaticEnv()
|
viper.AutomaticEnv()
|
||||||
viper.SetDefault("DOCKER_HOST", "unix:///var/run/docker.sock")
|
viper.SetDefault("DOCKER_HOST", "unix:///var/run/docker.sock")
|
||||||
viper.SetDefault("DOCKER_API_VERSION", DockerAPIMinVersion)
|
viper.SetDefault("DOCKER_API_VERSION", DockerAPIMinVersion)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue