]> 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 <jluis@suse.com>
Thu, 2 Apr 2015 10:34:10 +0000 (11:34 +0100)
commit257bd17db6470ca050403b1c8ff8daa94a4b80b5
tree709a9231158465d2adadf8db2de176ce20079b5a
parent90b37d9bdcc044e26f978632cd68f19ece82d19a
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>
(cherry picked from commit 0dd473cbad4f9ea403fe60badffdc6da4dd3aa3c)
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h