]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: refactor get_modules/list_modules
authorJohn Spray <john.spray@redhat.com>
Thu, 14 Dec 2017 16:29:00 +0000 (11:29 -0500)
committerJohn Spray <john.spray@redhat.com>
Wed, 24 Jan 2018 18:08:21 +0000 (13:08 -0500)
commit9999ddf67bc6211982523a2b51af9ec1d0b77b63
tree8b30778add890a4debfb6bea92294eed4e0cd041
parent191cce74e164c1b9cc50bfaca96600b532b7bce5
mgr: refactor get_modules/list_modules

list_modules is really about searching for them
on disk, so it's now probe_modules and private.

Both methods now return values instead of populating
an argument, since when called they were always writing into
a newly constructed container.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/MgrStandby.cc
src/mgr/PyModuleRegistry.cc
src/mgr/PyModuleRegistry.h