Merge pull request #197 from ooni/fix-list-ui

Fixup the rightpad on the list command
This commit is contained in:
Arturo Filastò 2021-01-22 13:48:54 +01:00 committed by GitHub
commit b84fe2c7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ func logResultSummary(w io.Writer, f log.Fields) error {
fmt.Fprintf(w, " │ %s │ %s │ %s │\n",
utils.RightPad(fmt.Sprintf("%d tests", tests), 12),
utils.RightPad(fmt.Sprintf("%d nets", networks), 11),
utils.RightPad(fmt.Sprintf("⬆ %s ⬇ %s", formatSize(dataUp), formatSize(dataDown)), 16))
utils.RightPad(fmt.Sprintf("⬆ %s ⬇ %s", formatSize(dataUp), formatSize(dataDown)), 17))
fmt.Fprintf(w, " └──────────────┴─────────────┴───────────────────┘\n")
return nil