mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
fix ineffectual assignment to i (ineffassign)
This commit is contained in:
parent
a36517f9e7
commit
b2971e7497
@ -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++
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user