Jelajahi Sumber

complete the code doc

Matt Bolt 5 tahun lalu
induk
melakukan
98cdb2a7b4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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