rules: manager: clarify doc string for NewGroupMetrics (#7084)

* rules: manager: clarify doc string for NewGroupMetrics

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Muhammad Falak R Wani 2020-04-07 17:36:01 +05:30 committed by GitHub
parent cd73b3d33e
commit 2d1a80aa82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ type Metrics struct {
groupRules *prometheus.GaugeVec
}
// NewGroupMetrics makes a new Metrics and registers them with the provided registerer,
// NewGroupMetrics creates a new instance of Metrics and registers it with the provided registerer,
// if not nil.
func NewGroupMetrics(reg prometheus.Registerer) *Metrics {
m := &Metrics{