Merge pull request #92353 from farah/farah/fix-typo

Fix typo in metrics.go
This commit is contained in:
Kubernetes Prow Robot 2020-06-26 00:07:31 -07:00 committed by GitHub
commit 7fb3f3e8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ func ExtractMetricSamples(metricsBlob string) ([]*model.Sample, error) {
}
}
// PrintSample returns formated representation of metric Sample
// PrintSample returns formatted representation of metric Sample
func PrintSample(sample *model.Sample) string {
buf := make([]string, 0)
// Id is a VERY special label. For 'normal' container it's useless, but it's necessary