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

Function ceph_foreign_option_get

src/mgr/BaseMgrModule.cc:468–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468static PyObject*
469ceph_foreign_option_get(BaseMgrModule *self, PyObject *args)
470{
471 char *who = nullptr;
472 char *what = nullptr;
473 if (!PyArg_ParseTuple(args, "ss:ceph_foreign_option_get", &who, &what)) {
474 derr << "Invalid args!" << dendl;
475 return nullptr;
476 }
477 return self->py_modules->get_foreign_config(who, what);
478}
479
480static PyObject*
481ceph_get_module_option(BaseMgrModule *self, PyObject *args)

Callers

nothing calls this directly

Calls 1

get_foreign_configMethod · 0.80

Tested by

no test coverage detected