]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mgr/PyFormatter.cc
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / mgr / PyFormatter.cc
index 8e58f6e9a84ab99aa55592a7d3fe473af1aa3868..6a7f3e98255521d6e52b9cbcc3f8c7e2814746b7 100644 (file)
@@ -37,6 +37,11 @@ void PyFormatter::open_object_section(std::string_view name)
   cursor = dict;
 }
 
+void PyFormatter::dump_null(std::string_view name)
+{
+  dump_pyobject(name, Py_None);
+}
+
 void PyFormatter::dump_unsigned(std::string_view name, uint64_t u)
 {
   PyObject *p = PyLong_FromUnsignedLong(u);