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: ensure ServiceInfo cache is cleared when adding to the registry #1279

Merged
merged 5 commits into from Oct 5, 2023

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 5, 2023

If the service info was modified in place the update would not be reflected when calling async_update_service.

This wasn't an expected use case, but it happens in the wild.

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
src/zeroconf/__init__.py 100.00% <100.00%> (ø)
src/zeroconf/_services/info.py 100.00% <100.00%> (ø)
src/zeroconf/_services/registry.py 100.00% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@bdraco bdraco marked this pull request as ready for review October 5, 2023 15:58
@bdraco bdraco merged commit 2060eb2 into master Oct 5, 2023
33 of 34 checks passed
@bdraco bdraco deleted the fix_update branch October 5, 2023 15:59
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.

None yet

1 participant