]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: error out if no items
authorKefu Chai <kchai@redhat.com>
Fri, 5 Feb 2021 09:49:28 +0000 (17:49 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 18 Feb 2021 14:46:51 +0000 (22:46 +0800)
commita7d231ea2d8aa63bd3a957966fdb60eb7938939b
tree607cc885ff1b0f66da7493fc161fe8f39544d5f5
parentba24079619f087ad2500f3a8d128d9a5817aa46c
mgr/rbd_support: error out if no items

it'd be a logic error if we call next_run() without adding items
beforehand.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/rbd_support/schedule.py