Skip to content
Snippets Groups Projects
Unverified Commit 86ea8361 authored by Max Adamo's avatar Max Adamo
Browse files

test

parent 7733d9e1
Branches
Tags
No related merge requests found
...@@ -91,7 +91,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) { ...@@ -91,7 +91,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) {
statusFile = "/tmp/401.json" statusFile = "/tmp/401.json"
//w.WriteHeader(http.StatusUnauthorized) //w.WriteHeader(http.StatusUnauthorized)
http.Error(w, ko, http.StatusUnauthorized) http.Error(w, ko, http.StatusUnauthorized)
http.ServeFile(w, req, "/tmp/401.json") //http.ServeFile(w, req, "/tmp/401.json")
//http.ServeFile(w, req, statusFile) //http.ServeFile(w, req, statusFile)
} else { } else {
cmd.Run() cmd.Run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment