From 8d0939a94107a2288a6f39be6e14a98f3ee79778 Mon Sep 17 00:00:00 2001 From: Frikky Date: Thu, 3 Apr 2025 22:51:36 +0200 Subject: [PATCH] Minor print fixes --- backend/go-app/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/go-app/main.go b/backend/go-app/main.go index dbef20e4..746904aa 100755 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -4202,7 +4202,7 @@ func runInitEs(ctx context.Context) { cleanupJob := func() func() { return func() { - log.Printf("[INFO] Running schedule for cleaning up or re-running unfinished workflows in %d environments.", len(environments)) + //log.Printf("[INFO] Running schedule for cleaning up or re-running unfinished workflows in %d environments.", len(environments)) backendPort := os.Getenv("BACKEND_PORT") if backendPort == "" { @@ -4221,6 +4221,7 @@ func runInitEs(ctx context.Context) { nil, ) + // FIXME: This will stop working of the user rotates their key lol req.Header.Add("Authorization", fmt.Sprintf(`Bearer %s`, parsedApikey)) if err != nil { log.Printf("[ERROR] Failed CREATING environment request for %s: %s", environment, err) @@ -4266,7 +4267,8 @@ func runInitEs(ctx context.Context) { log.Printf("[ERROR] Failed setting respbody %s", err) continue } - log.Printf("[DEBUG] Ran workflow RERUN request for %s with the response. Body: %s", environment, string(respBody)) + + //log.Printf("[DEBUG] Ran workflow RERUN request for %s with the response. Body: %s", environment, string(respBody)) } } }