]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/snap-schedule: refactor schedule into two modules
authorJan Fajerski <jfajerski@suse.com>
Thu, 14 May 2020 08:38:58 +0000 (10:38 +0200)
committerJan Fajerski <jfajerski@suse.com>
Thu, 27 Aug 2020 13:55:46 +0000 (15:55 +0200)
commitaee0981b418c5a9077b967ff089c6434cd42f7e8
tree5b1592715c751c4ce87bb5aac80d317c96afc79d
parent759403a04fbc8dd067cc00cf94bddcb96d9422ed
pybind/mgr/snap-schedule: refactor schedule into two modules

This separates the Schedule class from the SnapSchedClient class.
Motivation is cleaner code layout and simpler testing.

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 [new file with mode: 0644]
src/pybind/mgr/snap_schedule/module.py