Преглед изворни кода

Cleanup code comment

Signed-off-by: Tim Vaillancourt <[email protected]>
Tim Vaillancourt пре 2 година
родитељ
комит
c14ad0f27b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      stats.go

+ 2 - 2
stats.go

@@ -21,8 +21,8 @@ import (
 type statsHandlerFunc func(listen, path string) http.Handler
 
 // startStats initializes stats from config. On success, if any further work
-// is needed to serve stats, it returns an http.Handler for that work. If no
-// work is needed, it'll return nil. On failure, it returns nil, error.
+// is needed to serve stats, it returns an statsHandlerFunc for that work. If
+// no work is needed, it'll return nil. On failure, it returns nil, error.
 func startStats(l *logrus.Logger, c *config.C, listen, buildVersion string, configTest bool) (f statsHandlerFunc, err error) {
 	mType := c.GetString("stats.type", "")
 	if mType == "" || mType == "none" {