mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #11017 from jbeda/fix-1.3
Fix up #10851 to be golang 1.3 compatible.
This commit is contained in:
commit
7031fd2cd8
@ -973,7 +973,10 @@ func appendLabels(itemLabels map[string]string, columnLabels []string) string {
|
||||
func appendLabelTabs(columnLabels []string) string {
|
||||
var buffer bytes.Buffer
|
||||
|
||||
for range columnLabels {
|
||||
for i := range columnLabels {
|
||||
// NB: This odd dance is to make the loop both compatible with go 1.3 and
|
||||
// pass `gofmt -s`
|
||||
_ = i
|
||||
buffer.WriteString("\t")
|
||||
}
|
||||
buffer.WriteString("\n")
|
||||
|
Loading…
Reference in New Issue
Block a user