From 050e987265cb220c1405d63112cc9c74e30d02de Mon Sep 17 00:00:00 2001 From: Li Wang Date: Sat, 30 Sep 2017 02:34:41 +0000 Subject: [PATCH] mgr: assert(false)->ceph_abort() Signed-off-by: Li Wang --- src/mgr/PyModules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5