Merge pull request #1473 from mattcollier/patch-2

Correct typo in code comment.
This commit is contained in:
Timo Reimann 2017-04-20 22:01:16 +02:00 committed by GitHub
commit 809103f4b2

View file

@ -15,7 +15,7 @@ import (
var singleton *HealthCheck
var once sync.Once
// GetHealthCheck Get HealtchCheck Singleton
// GetHealthCheck returns the health check which is guaranteed to be a singleton.
func GetHealthCheck() *HealthCheck {
once.Do(func() {
singleton = newHealthCheck()