Преглед на файлове

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" {