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

fix: TTL Conversion #88

Merged
merged 2 commits into from
Oct 15, 2024
Merged

fix: TTL Conversion #88

merged 2 commits into from
Oct 15, 2024

Conversation

mircea-pavel-anton
Copy link
Collaborator

Converting from the Mikrotik style TTL ("1d") to an External DNS endpoint style TTL (86400) was erroring out because the time.ParseDuration function does not handle d as a unit.

This PR fixes that and adds quite a few tests to hopefully prevent such a mistake from making it to prod again 😅

@mircea-pavel-anton mircea-pavel-anton self-assigned this Oct 15, 2024
@mircea-pavel-anton mircea-pavel-anton merged commit 4847b35 into main Oct 15, 2024
11 checks passed
@mircea-pavel-anton mircea-pavel-anton deleted the feat/unit_testing branch October 15, 2024 19:42
@mircea-pavel-anton mircea-pavel-anton mentioned this pull request Oct 15, 2024
3 tasks
@mr-borboto
Copy link
Contributor

mr-borboto bot commented Oct 15, 2024

🎉 This PR is included in version 0.2.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant