Make resume and migrate-schema actions run only when paused
Bug #1460610 reported by
Данило Шеган
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Данило Шеган |
Bug Description
As a follow-up to bug 1458515 making upgrade action only run when paused, ensure both migrate-schema and resume actions also run only when paused.
Related branches
lp:~danilo/landscape-charm/maintenance-hook
- Benji York (community): Approve
- 🤖 Landscape Builder: Approve (test results)
- Chris Glass (community): Approve
-
Diff: 298 lines (+138/-30)8 files modifiedlib/hook.py (+28/-0)
lib/migrate_schema.py (+8/-7)
lib/resume.py (+8/-7)
lib/tests/stubs.py (+4/-0)
lib/tests/test_hook.py (+45/-0)
lib/tests/test_migrate_schema.py (+22/-5)
lib/tests/test_resume.py (+20/-3)
lib/upgrade.py (+3/-8)
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.