]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: return get_ceph_option result as typed Py object (not string)
authorSage Weil <sage@redhat.com>
Fri, 23 Aug 2019 17:14:24 +0000 (12:14 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Sep 2019 15:32:00 +0000 (10:32 -0500)
commit845ca9c10df70ed1f441b47dcdbc2d1eb5da697e
tree86b1365024b8e94eda9612e70c9e574d0b88be69
parentd0444f0cba9d317dd6bfde90390f208334ed2096
mgr: return get_ceph_option result as typed Py object (not string)

We already return module options as the proper Py type; do the same for
native ceph options.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/BaseMgrModule.cc
src/mgr/CMakeLists.txt
src/mgr/PyModule.cc
src/mgr/PyUtil.cc [new file with mode: 0644]
src/mgr/PyUtil.h [new file with mode: 0644]