mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix ordering of interval/deadline arguments for NewTarget().
This commit is contained in:
parent
b2df1c375a
commit
765bceca3e
|
@ -85,7 +85,7 @@ func (m *targetManager) AddTargetsFromConfig(config *config.Config) {
|
|||
}
|
||||
|
||||
for _, endpoint := range configTargets.Endpoints {
|
||||
target := NewTarget(endpoint, time.Second*5, interval, baseLabels)
|
||||
target := NewTarget(endpoint, interval, time.Second*5, baseLabels)
|
||||
m.Add(target)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue