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

refactor: use named return val for IP/if filter #745

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

WofWca
Copy link
Member

@WofWca WofWca commented Nov 26, 2024

Description

This should make it clear that you need to return true to keep it and false to exclude.

Similar MR in pion/webrtc: pion/webrtc#2958.

Reference issue

None

This should make it clear that you need to return `true`
to keep it and `false` to exclude.

Relates to pion/webrtc#2958
@Sean-Der Sean-Der force-pushed the refactor-clarify-filter-predicate branch from 351b1f1 to 0abc6d8 Compare November 26, 2024 15:44
@Sean-Der Sean-Der merged commit 8b8fffd into pion:master Nov 26, 2024
11 of 12 checks passed
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.63%. Comparing base (2c699d8) to head (0abc6d8).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
udp_mux_multi.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #745      +/-   ##
==========================================
+ Coverage   78.61%   78.63%   +0.02%     
==========================================
  Files          41       41              
  Lines        4764     4769       +5     
==========================================
+ Hits         3745     3750       +5     
  Misses        785      785              
  Partials      234      234              
Flag Coverage Δ
go 78.63% <50.00%> (+0.02%) ⬆️
wasm ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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

Successfully merging this pull request may close these issues.

2 participants