drop stats fetching log

This commit is contained in:
Alex Dadgar
2018-03-23 12:01:50 -07:00
parent 01716489ba
commit 31b317b6ee

View File

@@ -1597,7 +1597,7 @@ func (r *TaskRunner) collectResourceUsageStats(stopCollection <-chan struct{}) {
// race between the stopCollection channel being closed and calling
// Stats on the handle.
if !strings.Contains(err.Error(), "connection is shut down") {
r.logger.Printf("[WARN] client: error fetching stats of task %v: %v", r.task.Name, err)
r.logger.Printf("[DEBUG] client: error fetching stats of task %v: %v", r.task.Name, err)
}
continue
}