Closed japinli closed 2 years ago
In execute() function, it calls time.Now() to set scrapeDone when there is an error. However, it also set the scrapeDone in Collect(), so it's redundant to set scrapeDone in execute().
that make sense, thanks~
In execute() function, it calls time.Now() to set scrapeDone when there is an error. However, it also set the scrapeDone in Collect(), so it's redundant to set scrapeDone in execute().