fix ineffectual assignment to i (ineffassign)

Kubernetes-commit: b2971e74970f241e138c93f5e755aa2980ab13ed
This commit is contained in:
Antonio Ojea 2021-11-16 18:08:27 +01:00 committed by Kubernetes Publisher
parent 66045674dd
commit 476fa148b6
1 changed files with 0 additions and 3 deletions

View File

@ -1415,7 +1415,6 @@ func printCSIPersistentVolumeAttributesMultilineIndent(w PrefixWriter, initialIn
} else { } else {
w.Write(LEVEL_2, "%s\n", line) w.Write(LEVEL_2, "%s\n", line)
} }
i++
} }
} }
@ -5111,7 +5110,6 @@ func printLabelsMultilineWithIndent(w PrefixWriter, initialIndent, title, innerI
w.Write(LEVEL_0, "%s", innerIndent) w.Write(LEVEL_0, "%s", innerIndent)
} }
w.Write(LEVEL_0, "%s=%s\n", key, labels[key]) w.Write(LEVEL_0, "%s=%s\n", key, labels[key])
i++
} }
} }
@ -5345,7 +5343,6 @@ func printAnnotationsMultiline(w PrefixWriter, title string, annotations map[str
} else { } else {
w.Write(LEVEL_0, "%s: %s\n", key, value) w.Write(LEVEL_0, "%s: %s\n", key, value)
} }
i++
} }
} }