From 2f297fd935c1b7da8e67c4b3e175eebb1699b184 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Tue, 13 Jun 2023 22:05:07 -0700 Subject: [PATCH] Fix debug flag --- main.go | 2 +- template.nomad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index d316517..475c93c 100644 --- a/main.go +++ b/main.go @@ -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 { diff --git a/template.nomad b/template.nomad index 7707bda..2ad54bf 100644 --- a/template.nomad +++ b/template.nomad @@ -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"] }