1
0
mirror of https://github.com/ribbybibby/ssl_exporter.git synced 2025-02-19 19:59:47 +02:00

Fix emailAddresses (#33)

This commit is contained in:
Rob Best 2020-06-16 17:23:18 +01:00 committed by GitHub
parent 8ef058ebfb
commit dc2882c1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) {
}
if len(emailAddresses) > 0 {
emailsLabel = "," + strings.Join(DNSNames, ",") + ","
emailsLabel = "," + strings.Join(emailAddresses, ",") + ","
}
if len(IPAddresses) > 0 {