Fix debug flag
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Elara 2023-06-13 22:05:07 -07:00
parent eee5cb2fef
commit 22c0aa3a19
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func main() {
serverAddr := pflag.StringP("address", "a", ":8080", "Webhook server address")
genHash := pflag.BoolP("gen-hash", "g", false, "Generate a password hash for webhooks")
useEnv := pflag.BoolP("use-env", "E", false, "Use environment variables for configuration")
debug := pflag.BoolP("debug", "d", false, "Enable debug logging")
debug := pflag.BoolP("debug", "D", false, "Enable debug logging")
pflag.Parse()
if *debug {

View File

@ -42,7 +42,7 @@ job "lure-updater" {
config {
image = "alpine:latest"
command = "/opt/lure-updater/lure-updater"
args = ["-dE"]
args = ["-DE"]
ports = ["webhook"]
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
}