mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Correct order of deadline and interval arguments.
This commit is contained in:
parent
b20fb74798
commit
c8761f3468
|
@ -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