Skip to content

Commit e5aac32

Browse files
committed
fix formatting
1 parent 0dcbe9f commit e5aac32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporter/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func AddMetrics() map[string]*prometheus.Desc {
2222
prometheus.BuildFQName("github", "repo", "pull_request_count"),
2323
"Total number of pull requests for given repository",
2424
[]string{}, nil,
25-
)
25+
)
2626
APIMetrics["Watchers"] = prometheus.NewDesc(
2727
prometheus.BuildFQName("github", "repo", "watchers"),
2828
"Total number of watchers/subscribers for given repository",
@@ -78,7 +78,7 @@ func (e *Exporter) processMetrics(data []*Datum, rates *RateLimits, ch chan<- pr
7878
}
7979
}
8080
prCount := 0
81-
for _, _ = range x.Pulls {
81+
for range x.Pulls {
8282
prCount += 1
8383
}
8484
// issueCount = x.OpenIssue - prCount

0 commit comments

Comments
 (0)