]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix off-by-one rendering progress bar 28398/head
authorSage Weil <sage@redhat.com>
Tue, 28 May 2019 16:31:27 +0000 (11:31 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 5 Jun 2019 04:04:51 +0000 (12:04 +0800)
commit7fb7405a8ec8d59e6a0928758832bfff2b68b158
tree5c6572b8805dfd640c5d72321889532bf4500dbf
parent26da8a5558289c91da1c9595875fa3b2c844f00f
mon: fix off-by-one rendering progress bar

Ensure that if progress is < 1.0, we always have a '.' at the end of the
bar.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 0e49ad74f9ebbefb418f9eb1c8842dbe8f16fa18)
src/mon/Monitor.cc