Merge pull request #71029 from yanghaichao12/dev1114

Fix comment error of the struct 'UserDefinedMetric'
This commit is contained in:
Kubernetes Prow Robot 2018-12-12 17:18:54 -08:00 committed by GitHub
commit ed73acdc98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ type UserDefinedMetricDescriptor struct {
Labels map[string]string `json:"labels,omitempty"` Labels map[string]string `json:"labels,omitempty"`
} }
// UserDefinedMetric represents a metric defined and generate by users. // UserDefinedMetric represents a metric defined and generated by users.
type UserDefinedMetric struct { type UserDefinedMetric struct {
UserDefinedMetricDescriptor `json:",inline"` UserDefinedMetricDescriptor `json:",inline"`
// The time at which these stats were updated. // The time at which these stats were updated.