mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00: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 New Issue
Block a user