MCPcopy Create free account
hub / github.com/ceph/ceph / ceph_lookup_release_name

Function ceph_lookup_release_name

src/mgr/BaseMgrModule.cc:649–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649static PyObject *
650ceph_lookup_release_name(BaseMgrModule *self, PyObject *args)
651{
652 int major = 0;
653 if (!PyArg_ParseTuple(args, "i:ceph_lookup_release_name", &major)) {
654 return nullptr;
655 }
656 return PyUnicode_FromString(ceph_release_name(major));
657}
658
659static PyObject *
660ceph_get_context(BaseMgrModule *self)

Callers

nothing calls this directly

Calls 1

ceph_release_nameFunction · 0.85

Tested by

no test coverage detected