From d5b6edcaa76150f2489bbdb2a46a41bc98baa87f Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Sat, 24 Jan 2026 00:50:47 +0800 Subject: [PATCH] fix: avoid duplicate healthz route --- cmd/accountsvc/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/accountsvc/main.go b/cmd/accountsvc/main.go index c7bb6e6..a2c36c7 100644 --- a/cmd/accountsvc/main.go +++ b/cmd/accountsvc/main.go @@ -82,9 +82,6 @@ func runServer(ctx context.Context, cfg *config.Config, logger *slog.Logger) err c.Next() logger.Info("request", "method", c.Request.Method, "path", c.FullPath(), "status", c.Writer.Status(), "latency", time.Since(start)) }) - r.GET("/healthz", func(c *gin.Context) { - c.Status(http.StatusOK) - }) storeCfg := store.Config{ Driver: cfg.Store.Driver,