Skip to content

Commit 306a8d3

Browse files
committed
refactor: use z page in health controller
1 parent c6b2b31 commit 306a8d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/controller/health_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ func NewHealthController(router *gin.RouterGroup) *HealthController {
1313
}
1414

1515
func (hc *HealthController) SetupRoutes() {
16-
hc.router.GET("/health", hc.health)
17-
hc.router.HEAD("/health", hc.health)
16+
hc.router.GET("/healthz", hc.health)
17+
hc.router.HEAD("/healthz", hc.health)
1818
}
1919

2020
func (hc *HealthController) health(c *gin.Context) {

0 commit comments

Comments
 (0)