Skip to content

Commit

Permalink
docs: format comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qloog committed Apr 22, 2022
1 parent 3ac9f44 commit b1a904d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/app/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ type healthCheckResponse struct {
Hostname string `json:"hostname"`
}

// HealthCheck will return OK if the underlying BoltDB is healthy. At least healthy enough for demoing purposes.
// HealthCheck will return OK if the underlying BoltDB is healthy.
// At least healthy enough for demoing purposes.
func HealthCheck(c *gin.Context) {
c.JSON(http.StatusOK, healthCheckResponse{Status: "UP", Hostname: utils.GetHostname()})
}

0 comments on commit b1a904d

Please sign in to comment.