We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ac2e8 commit 8bc7cacCopy full SHA for 8bc7cac
cmd/node-cert-exporter/main.go
@@ -27,8 +27,6 @@ var BRANCH string
27
var GOVERSION string
28
29
var (
30
- host string
31
- port int
32
listen string
33
telemetryPath string
34
paths []string
pkg/exporter/exporter.go
@@ -132,9 +132,7 @@ func (e *Exporter) Scrape(ch chan<- prometheus.Metric) {
132
glog.Warningf("%s", err)
133
continue
134
}
135
- for _, match := range matches {
136
- paths = append(paths, match)
137
- }
+ paths = append(paths, matches...)
138
139
140
// Read files defined in paths from fs and try to parse a x509 certificate from them.
0 commit comments