Fix some typos

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake 2018-11-05 22:10:11 +08:00
parent 6b7f0f129b
commit 4b518ec03c
4 changed files with 4 additions and 4 deletions

View file

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