Correct order of deadline and interval arguments.

This commit is contained in:
Julius Volz 2013-02-06 00:08:31 +01:00
parent b20fb74798
commit c8761f3468

View File

@ -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)
}
}