Merge pull request #16641 from liewegas/wip-mgr-configs

mgr/PyState: shut up about get_config on nonexistent keys

Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2017-07-28 13:19:57 +01:00 committed by GitHub
commit c6ef41b02e

View File

@ -234,7 +234,7 @@ ceph_config_get(PyObject *self, PyObject *args)
dout(10) << "ceph_config_get " << what << " found: " << value.c_str() << dendl;
return PyString_FromString(value.c_str());
} else {
derr << "ceph_config_get " << what << " not found " << dendl;
dout(4) << "ceph_config_get " << what << " not found " << dendl;
Py_RETURN_NONE;
}
}