Skip to content

Commit

Permalink
Following linter output recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
oldNoakes committed Oct 21, 2024
1 parent 50ee378 commit f9877ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ func (e *Exporter) Scrape(ch chan<- prometheus.Metric) {
glog.Warningf("%s", err)
continue
}
for _, match := range matches {
paths = append(paths, match)
}
paths = append(paths, matches...)
}

// Read files defined in paths from fs and try to parse a x509 certificate from them.
Expand Down

0 comments on commit f9877ae

Please sign in to comment.