fix: pass 1 to --watch-config flag

Apparently this needs a value...
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-07 00:12:23 -05:00
parent 714b27f8a4
commit 441f7ab22a

View File

@@ -74,7 +74,7 @@ func startVectorContainer(vectorImage string) error {
"--volume", "/var/run/docker.sock:/var/run/docker.sock",
"--volume", common.MustGetEnv("DOKKU_LOGS_HOST_DIR") + ":/var/logs/dokku/apps",
vectorImage,
"--config", "/etc/vector/vector.json", "--watch-config"}, " "))
"--config", "/etc/vector/vector.json", "--watch-config", "1"}, " "))
cmd.ShowOutput = false
if !cmd.Execute() {