From dc8c6e49634d3578c82eb4caa1a3f903688f6a35 Mon Sep 17 00:00:00 2001 From: austenLacy Date: Fri, 14 Apr 2023 10:15:55 -0400 Subject: [PATCH] remove tablet server's ACL check on the /healthz HTTP api route Signed-off-by: austenLacy --- go/vt/vttablet/tabletserver/tabletserver.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/vt/vttablet/tabletserver/tabletserver.go b/go/vt/vttablet/tabletserver/tabletserver.go index c8959d5db7e..9490465c2e7 100644 --- a/go/vt/vttablet/tabletserver/tabletserver.go +++ b/go/vt/vttablet/tabletserver/tabletserver.go @@ -1700,10 +1700,6 @@ func (tsv *TabletServer) registerHealthzHealthHandler() { } func (tsv *TabletServer) healthzHandler(w http.ResponseWriter, r *http.Request) { - if err := acl.CheckAccessHTTP(r, acl.MONITORING); err != nil { - acl.SendError(w, err) - return - } if (tsv.sm.wantState == StateServing || tsv.sm.wantState == StateNotConnected) && !tsv.sm.IsServing() { http.Error(w, "500 internal server error: vttablet is not serving", http.StatusInternalServerError) return