mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
parent
ffc5a86098
commit
31de03c18a
@ -973,7 +973,10 @@ func appendLabels(itemLabels map[string]string, columnLabels []string) string {
|
|||||||
func appendLabelTabs(columnLabels []string) string {
|
func appendLabelTabs(columnLabels []string) string {
|
||||||
var buffer bytes.Buffer
|
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("\t")
|
||||||
}
|
}
|
||||||
buffer.WriteString("\n")
|
buffer.WriteString("\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user