mirror of https://github.com/kubernetes/kops.git
Introduce some padding into text grid output
Otherwise we were not leaving a gap when columns were 8n characters wide.
This commit is contained in:
parent
d0fd8170cd
commit
64b2f9d387
|
|
@ -129,7 +129,7 @@ func (t *Table) Render(items interface{}, out io.Writer, columnNames ...string)
|
|||
w := new(tabwriter.Writer)
|
||||
|
||||
// Format in tab-separated columns with a tab stop of 8.
|
||||
w.Init(out, 0, 8, 0, '\t', tabwriter.StripEscape)
|
||||
w.Init(out, 0, 8, 1, '\t', tabwriter.StripEscape)
|
||||
|
||||
writeHeader := true
|
||||
if writeHeader {
|
||||
|
|
|
|||
Loading…
Reference in New Issue