Skip to content

Commit

Permalink
Update exporters/prometheus/exporter.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <pellared@hotmail.com>
  • Loading branch information
hexdigest and pellared committed May 15, 2023
1 parent 529e868 commit 489b528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/prometheus/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (c *collector) Collect(ch chan<- prometheus.Metric) {
}
}

// Initialize (once) targetInfo and disableTargetInfo.
func() {
var err error
var targetInfo prometheus.Metric
Expand Down

0 comments on commit 489b528

Please sign in to comment.