Parcourir la source

complete the code doc

Matt Bolt il y a 5 ans
Parent
commit
98cdb2a7b4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/prom/error.go

+ 1 - 1
pkg/prom/error.go

@@ -82,7 +82,7 @@ type ErrorsAndWarningStrings struct {
 }
 
 // QueryErrorCollector is used to collect prometheus query errors and warnings, and also meets the
-// Error
+// Error interface
 type QueryErrorCollector struct {
 	m        sync.RWMutex
 	errors   []*QueryError