Skip to content

Commit

Permalink
use the parsed target when connecting with the http client
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbybibby committed Dec 18, 2019
1 parent 874f02f commit 0983ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) {
}

// Issue a GET request to the target
resp, err := client.Get(e.target)
resp, err := client.Get(target)
if err != nil {
log.Errorln(err)
ch <- prometheus.MustNewConstMetric(
Expand Down

0 comments on commit 0983ffd

Please sign in to comment.