diff options
Diffstat (limited to 'cmd/tfstate/healthz.go')
-rw-r--r-- | cmd/tfstate/healthz.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cmd/tfstate/healthz.go b/cmd/tfstate/healthz.go deleted file mode 100644 index 20c72c9..0000000 --- a/cmd/tfstate/healthz.go +++ /dev/null @@ -1,12 +0,0 @@ -package main - -import "net/http" - -func handleHealthz() http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Cache-Control", "no-store, no-cache") - w.Header().Set("Content-Type", "application/json") - w.WriteHeader(http.StatusOK) - _, _ = w.Write([]byte("{}")) - }) -} |