replace http status
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
34bd272cbe
commit
6ec814c4e0
|
@ -33,7 +33,7 @@ func rootHandler(c *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func heartbeatHandler(c *gin.Context) {
|
func heartbeatHandler(c *gin.Context) {
|
||||||
c.AbortWithStatus(200)
|
c.AbortWithStatus(http.StatusOK)
|
||||||
}
|
}
|
||||||
|
|
||||||
func versionHandler(c *gin.Context) {
|
func versionHandler(c *gin.Context) {
|
||||||
|
|
Loading…
Reference in New Issue