]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Bail from handle_command() if _generate_command_map() fails 48044/head
authorNikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
Mon, 12 Sep 2022 06:33:59 +0000 (06:33 +0000)
committerNikhil Kshirsagar <nkshirsagar@gmail.com>
Thu, 13 Oct 2022 07:44:40 +0000 (13:14 +0530)
commitf3d771aabc07f7517efb051bf70d2df1657172b4
treec40d1bce848ec3880c99474885f6a562f21d0d7e
parent6ef176b6745199224b62482a1241752826a5be14
mon: Bail from handle_command() if _generate_command_map() fails

Bail out of handle_command() if _generate_command_map() throws
an exception due to invalid json. This is an additional fix
for the one that went in through
1109e62f6a3c0a7e06a088c4b833c8ecec51f791

Fixes: https://tracker.ceph.com/issues/57859
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
src/mon/Monitor.cc