Parcourir la source

Merge pull request #10565 from jfrazelle/fix-range

Fix compilation on Go 1.3.3
Alexander Morozov il y a 10 ans
Parent
commit
7cc9858223
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      api/client/commands.go

+ 1 - 1
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 {