Merge pull request #18479 from swordqiu/automated-cherry-pick-of-#18478-upstream-release-3.11

Automated cherry pick of #18478: fix: scheduler ping/pong response mime
This commit is contained in:
Zexi Li
2023-10-30 20:37:25 +08:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ func pingHandler(c *gin.Context) {
}
log.Infof("%v", c.Request.Body)
c.JSON(http.StatusOK, "pong")
c.String(http.StatusOK, "pong")
}
// switchHandler is a handler of switch service that just for