Fix delete_schedule bug from smart scheduling change#164
Conversation
|
Comment
You can also request review from a specific team by commenting 💡 If you see something that doesn't look right, check the configuration guide. |
This is currently a non-blocking check, and it will not prevent your Pull Request from being merged.The CODEOWNER of this repository has some untagged assets.As this is a public repository, asset details will not be shown. |
There was a problem hiding this comment.
Pull request overview
Changes: Bugfix (1)
This PR fixes schedule deletion after the smart scheduling change by ensuring schedule backup cleanup targets schedule_id rather than being accidentally interpreted as snapshot_id.
Changes:
- Update
reset_schedule_backupsinvocation to passschedule_idas a named argument. - Prevent erroneous deletion logic that could occur when the schedule ID is passed positionally.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🟡 Approvals from users who have not completed the mandatory secure code training will be rejected in 13 day(s). |
Context
Minor upgrade to fix bug when deleting a schedule. Bug got introduced in smart scheduling PR.
Checklist