]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/diskprediction_local: raise if Predictor cannot be initialized
authorKefu Chai <kchai@redhat.com>
Sat, 20 Feb 2021 06:08:34 +0000 (14:08 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 20 Feb 2021 06:51:26 +0000 (14:51 +0800)
commita6ee76cb128f593f1f1b9ebcc913ab9c2f2d154c
treeddd0f3e9648bee0471506c78f06d8adcdb2f8a62
parent2bb6821f50c15d5303bb3833b32c16d69e251b6e
mgr/diskprediction_local: raise if Predictor cannot be initialized

simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/diskprediction_local/module.py
src/pybind/mgr/diskprediction_local/predictor.py