From 6ec814c4e0249bf1e1508f8b47338c76b552b0ae Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 6 Oct 2017 10:45:56 +0800 Subject: [PATCH] replace http status Signed-off-by: Bo-Yi Wu --- gorush/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorush/server.go b/gorush/server.go index 4eee5bb..1bea92d 100644 --- a/gorush/server.go +++ b/gorush/server.go @@ -33,7 +33,7 @@ func rootHandler(c *gin.Context) { } func heartbeatHandler(c *gin.Context) { - c.AbortWithStatus(200) + c.AbortWithStatus(http.StatusOK) } func versionHandler(c *gin.Context) {