From: Li Wang Date: Sat, 30 Sep 2017 02:34:41 +0000 (+0000) Subject: mgr: assert(false)->ceph_abort() X-Git-Tag: v13.0.1~675^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=050e987265cb220c1405d63112cc9c74e30d02de;p=ceph-ci.git mgr: assert(false)->ceph_abort() Signed-off-by: Li Wang --- diff --git a/src/mgr/PyModules.cc b/src/mgr/PyModules.cc index 0fdf21654ab..29a02bbb399 100644 --- a/src/mgr/PyModules.cc +++ b/src/mgr/PyModules.cc @@ -298,7 +298,7 @@ PyObject *PyModules::get_python(const std::string &what) } else if (what == "mon_status") { json = cluster_state.get_mon_status(); } else { - assert(false); + ceph_abort(); } f.dump_string("json", json.to_str()); return f.get();