Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure on_end makes input tz aware and fix on_end method #28

Merged
merged 8 commits into from
Sep 30, 2024
Merged

Conversation

JohnGarbutt
Copy link
Member

No description provided.

return self._create_or_update(
request, current_lease_required=True, dry_run=False
request,
is_delete=True,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should retest without this bit of the change, I think we do send the current lease.

Copy link
Contributor

@scrungus scrungus Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On-end from blazar just sends the lease parameter I believe, not current_lease like update does. However we do want to do an update on coral_credits side, so we should handle this

@scrungus scrungus changed the title Ensure on_end makes input tz aware Ensure on_end makes input tz aware and fix on_end method Sep 23, 2024
@scrungus
Copy link
Contributor

also adds a unit test to test deletion of current reservation

@scrungus scrungus marked this pull request as ready for review September 23, 2024 11:47
@scrungus scrungus merged commit bb9b148 into main Sep 30, 2024
3 of 4 checks passed
@scrungus scrungus deleted the fix-on-end branch September 30, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants