]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/snap-schedule: fix deactivate
authorJan Fajerski <jfajerski@suse.com>
Fri, 25 Sep 2020 14:16:42 +0000 (16:16 +0200)
committerJan Fajerski <jfajerski@suse.com>
Wed, 14 Oct 2020 07:22:09 +0000 (09:22 +0200)
commit0c32bfdb766ada1c626108911ec3bacfd3f9af50
treee6c5f99bc9bf3b965e6b11300bc274e20e0121d8
parentc514214e0fd44250b5a0bb9a6aed5db837be938e
pybind/mgr/snap-schedule: fix deactivate

This commit adds another argument to get_db_schedules in order to able
to filter not only by the repeat column (schedule period in seconds,
used for snapshotting) but also by the schedule column (the user facing
schedule period, string like 3h).

Fixes: https://tracker.ceph.com/issues/47515
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/pybind/mgr/snap_schedule/fs/schedule.py
src/pybind/mgr/snap_schedule/fs/schedule_client.py