mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
drop stats fetching log
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user