]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: catch cmd_bad_get
authorSage Weil <sage@redhat.com>
Mon, 13 Aug 2018 18:29:08 +0000 (13:29 -0500)
committerSage Weil <sage@redhat.com>
Sat, 1 Sep 2018 21:38:58 +0000 (16:38 -0500)
commit9cad299aaa940a33c1f3db2bcf2ccb46b8be19ea
tree75fc26b1e7833fec593aa1d8c6c1b7e299e5462a
parent4eb37953c338747230c9770488efae149b24c7a8
mgr/DaemonServer: catch cmd_bad_get

Refactor handle_command slightly: establish the CommandContext, then call
_handle_command.  This keep the try block localized.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h