]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add a get_version to the python interface 13669/head
authorJohn Spray <john.spray@redhat.com>
Mon, 14 Nov 2016 00:03:24 +0000 (00:03 +0000)
committerJohn Spray <john.spray@redhat.com>
Mon, 27 Feb 2017 11:29:43 +0000 (11:29 +0000)
commit5124e4d881314f3fdd2a7125b0660d7a71351721
tree56f036dd0a5f7ed905c357c77e1344145ab0a2ca
parent64eae76fbe89e6b0ecdd3b49b814d8460f40dcdb
mgr: add a get_version to the python interface

We had the metadata for all the remote services,
but no quick way for the python module to
ask "what version is the process I'm running in?"

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/PyState.cc
src/pybind/mgr/mgr_module.py