pybind/mgr/mgr_module: annotate more methods

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-01-16 23:14:07 +08:00
parent 141969d7c4
commit 8da98e55b9
2 changed files with 205 additions and 156 deletions

View File

@ -367,6 +367,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
path = self.get_ceph_option('cephadm_path')
try:
assert isinstance(path, str)
with open(path, 'r') as f:
self._cephadm = f.read()
except (IOError, TypeError) as e:

File diff suppressed because it is too large Load Diff