diff options
author | Julien Dessaux | 2024-09-28 14:06:06 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-09-30 01:00:55 +0200 |
commit | baf5aac08e27d33dc5087bbeec1437678bb2a384 (patch) | |
tree | 7fdf62d25d0e4efa4f78037f9318b0cc35a7f0ff /cmd/tfstate/healthz.go | |
parent | feat(tfstate): bootstrap an http server that answers /healthz (diff) | |
download | tfstated-baf5aac08e27d33dc5087bbeec1437678bb2a384.tar.gz tfstated-baf5aac08e27d33dc5087bbeec1437678bb2a384.tar.bz2 tfstated-baf5aac08e27d33dc5087bbeec1437678bb2a384.zip |
chore(tfstated): rename tfstate to tfstated
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("{}")) - }) -} |