]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/TextTable: only pad between columns
authorSage Weil <sage@redhat.com>
Wed, 19 Feb 2020 22:53:40 +0000 (16:53 -0600)
committerSage Weil <sage@redhat.com>
Tue, 25 Feb 2020 01:52:31 +0000 (19:52 -0600)
commit41f003518a070f5518a1b729fc3596a1b7689533
tree9a2b47424f6e2be797e0da94abab6daeed7a4541
parent5bbc6dd3a43e658d82ca2af070d98dbb1d517d7b
common/TextTable: only pad between columns

No need to pad on the right-hand side if there are no additional columns
that follow.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/TextTable.cc
src/test/cli/crushtool/arg-order-checks.t
src/test/cli/osdmaptool/tree.t
src/test/test_texttable.cc