diff --git a/main.go b/main.go index 65ad012fc457e39dfc5db1125b9a01229712645a..10c467bfec56467bc4da33661a4d2c3ea30cbf52 100644 --- a/main.go +++ b/main.go @@ -76,7 +76,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) { authToken = strings.Split(req.Header.Get("Authorization"), "Bearer ")[1] } okMsg := fmt.Sprintln("{\n \"status\": \"OK\",\n \"response\": 200\n}") - unauthorizedMsg := fmt.Sprintln("{\n \"status\": \"KO\",\n \"response\": 401\n}") + unauthorizedMsg := fmt.Sprintln("{\n \"status\": \"Unauthorized\",\n \"response\": 401\n}") unavailableMsg := fmt.Sprintln("{\n \"status\": \"KO\",\n \"response\": 503\n}") w.Header().Set("Content-Type", "application/json")