]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix 'log last' missing out latest event 24890/head
authorJohn Spray <john.spray@redhat.com>
Thu, 1 Nov 2018 23:45:34 +0000 (19:45 -0400)
committerJohn Spray <john.spray@redhat.com>
Thu, 1 Nov 2018 23:50:15 +0000 (19:50 -0400)
commite7887a3293bc2e3dbde9ab4f92b15d4039ecd6ee
treef4379f6d2b9a5570b1cf77f688b666554213f2a7
parent1b57df1d514588b1c8232fe0c348b21fcc90c4ee
mon: fix 'log last' missing out latest event

The loop was iterating up to but not including the
rbegin() entry.

Also remove a spurious derr << "bar"

Fixes: http://tracker.ceph.com/issues/36679
Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/LogMonitor.cc