]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: MDSMonitor: have management_command() returning int instead of bool
authorJoao Eduardo Luis <joao@redhat.com>
Fri, 17 Oct 2014 17:59:51 +0000 (18:59 +0100)
committerJoao Eduardo Luis <joao@redhat.com>
Fri, 17 Oct 2014 17:59:51 +0000 (18:59 +0100)
commit0dd473cbad4f9ea403fe60badffdc6da4dd3aa3c
tree10d51a178580d3132b6881cd2ca17ebfd88b437a
parent91b2a2b69b198567d42f45f75b7f7ea559f89150
mon: MDSMonitor: have management_command() returning int instead of bool

We can more easily differentiate between errors we get out of this
function, which makes the code a bit more versatile and readable.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h