Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

fix prometheus input plugin resetting its config at startup #1346

Merged
merged 1 commit into from
Jun 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion input/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func (p *prometheusWriteHandler) Name() string {

func (p *prometheusWriteHandler) Start(handler input.Handler, cancel context.CancelFunc) error {
p.Handler = handler
ConfigSetup()

mux := http.NewServeMux()
mux.HandleFunc("/write", p.handle)
Expand Down