]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: clean-up service module type checking
authorMichael Fritch <mfritch@suse.com>
Tue, 14 Jul 2020 13:18:48 +0000 (07:18 -0600)
committerMichael Fritch <mfritch@suse.com>
Thu, 16 Jul 2020 21:02:47 +0000 (15:02 -0600)
commit414e5507034f6380edac78de86419cd98dc59295
tree3b83941f46d305b155cc54743fdabd4bf0be588b
parent6c020b697e400461760ef41f246e94913923f9df
mgr/cephadm: clean-up service module type checking

- add return type to `config` func
- add missing `NFSServiceSpec` annotation to `config` func

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/services/nfs.py