diff --git a/api/client/commands.go b/api/client/commands.go index 857ef6d813..daa13743eb 100644 --- a/api/client/commands.go +++ b/api/client/commands.go @@ -2728,7 +2728,7 @@ func (cli *DockerCli) CmdStats(args ...string) error { if len(errs) > 0 { return fmt.Errorf("%s", strings.Join(errs, ", ")) } - for range time.Tick(500 * time.Millisecond) { + for _ = range time.Tick(500 * time.Millisecond) { printHeader() toRemove := []int{} for i, s := range cStats {