mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
pybind/mgr/mgr_module: annotate more methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
141969d7c4
commit
8da98e55b9
@ -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
Loading…
Reference in New Issue
Block a user