Merge pull request #637 from fabxc/fix/scrape_timeout

Fix scrape timeout in config.
This commit is contained in:
Julius Volz 2015-04-15 14:14:04 +02:00
commit 54f5c524e5
1 changed files with 1 additions and 1 deletions

View File

@ -163,5 +163,5 @@ func (c JobConfig) ScrapeInterval() time.Duration {
// ScrapeTimeout gets the scrape timeout for a job. // ScrapeTimeout gets the scrape timeout for a job.
func (c JobConfig) ScrapeTimeout() time.Duration { func (c JobConfig) ScrapeTimeout() time.Duration {
return stringToDuration(c.GetScrapeInterval()) return stringToDuration(c.GetScrapeTimeout())
} }