Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
parent
6b7f0f129b
commit
4b518ec03c
4 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ func GatherAndCompare(c prometheus.Collector, expected string, metricNames []str
|
|||
}
|
||||
|
||||
if !reflect.DeepEqual(metrics, normalizeMetricFamilies(expectedMetrics)) {
|
||||
// Encode the gathered output to the readbale text format for comparison.
|
||||
// Encode the gathered output to the readable text format for comparison.
|
||||
var buf1 bytes.Buffer
|
||||
enc := expfmt.NewEncoder(&buf1, expfmt.FmtText)
|
||||
for _, mf := range metrics {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue