From 7733d9e14a59849d4f12113effe23e63638814d0 Mon Sep 17 00:00:00 2001
From: Massimiliano Adamo <maxadamo@gmail.com>
Date: Thu, 1 Sep 2022 00:30:05 +0200
Subject: [PATCH] fix page name

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index eb11d05..76d26f6 100644
--- a/main.go
+++ b/main.go
@@ -85,7 +85,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) {
 	ok := fmt.Sprintf("{\n    \"status\": \"OK\",\n    \"response\": 200\n    \"token\": %v\n}", authToken)
 	ko := fmt.Sprintf("{\n    \"status\": \"OK\",\n    \"response\": 401\n    \"token\": %v\n}", authToken)
 	writeFile(ok, "/tmp/200.json")
-	writeFile(ko, "/tmp/503.json")
+	writeFile(ko, "/tmp/401.json")
 	w.Header().Set("Content-Type", "application/json")
 	if authToken != bearerToken {
 		statusFile = "/tmp/401.json"
-- 
GitLab