Skip to content

Commit

Permalink
Fix mismatch in function call due to outdated source code fork
Browse files Browse the repository at this point in the history
  • Loading branch information
phlipse committed Jan 24, 2018
1 parent 893d6a0 commit 7f39fc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/outputs/prometheus_client/prometheus_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ func (p *PrometheusClient) Start() error {

mux := http.NewServeMux()
mux.Handle(p.Path, p.basicAuth(promhttp.HandlerFor(
prometheus.DefaultGatherer,
promhttp.HandlerOpts{ErrorHandling: promhttp.ContinueOnError})))
registry, promhttp.HandlerOpts{ErrorHandling: promhttp.ContinueOnError})))

if p.TLS {
p.server = &http.Server{
Expand Down

0 comments on commit 7f39fc5

Please sign in to comment.