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

Small fixes to master only mode and the handling of announce messages. #298

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

davidv1992
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (cdaeee9) 68.63% compared to head (1cf2cbe) 68.54%.

Additional details and impacted files
@@               Coverage Diff               @@
##           tai-support     #298      +/-   ##
===============================================
- Coverage        68.63%   68.54%   -0.09%     
===============================================
  Files               49       49              
  Lines             5761     5771      +10     
===============================================
+ Hits              3954     3956       +2     
- Misses            1807     1815       +8     
Files Coverage Δ
statime/src/bmc/bmca.rs 98.67% <100.00%> (ø)
statime/src/ptp_instance.rs 0.00% <0.00%> (ø)
statime/src/port/mod.rs 55.57% <60.00%> (-0.67%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.filter_map(|port| port.best_local_announce_message()),
.filter_map(|port| port.best_local_announce_message(true)),
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not really clear here what "true" means. I think an enum should be passed instead here (so Foo::Global)

Copy link
Contributor

Choose a reason for hiding this comment

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

or perhaps better, make a best_local_announce_message_global and best_local_announce_message_nonglobal. saves an awkwardly named enum probably

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@davidv1992 davidv1992 force-pushed the tai-support branch 2 times, most recently from 9fd6418 to 2e5b836 Compare October 25, 2023 11:19
@davidv1992 davidv1992 force-pushed the master-only-refinements branch from 1260311 to 1cf2cbe Compare October 25, 2023 11:28
Base automatically changed from tai-support to main October 25, 2023 12:24
@folkertdev folkertdev merged commit 5c1ab0f into main Oct 25, 2023
4 checks passed
@folkertdev folkertdev deleted the master-only-refinements branch October 25, 2023 12:33
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