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

Cleanup a few clauses in fabric_view_changes #5060

Merged
merged 1 commit into from
May 17, 2024

Conversation

nickva
Copy link
Contributor

@nickva nickva commented May 17, 2024

#changes{} record and old complete format was deprecated 10 years ago [1].

While at it, cleanup un-necessarily long arg per line call formats.

Coincidentally, this also improve code coverage a bit:

fabric_view_changes           :  72% (pr)
fabric_view_changes           :  71% (main)

[1] 865b555

`#changes{}` record and old `complete` format was deprecated 10 years ago [1].

While at it, cleanup un-necessarily long arg per line call formats.

Coincidentally, this also improve code coverage a bit:

```
fabric_view_changes           :  72% (pr)
fabric_view_changes           :  71% (main)
```

[1] 865b555
Copy link
Contributor

@jaydoane jaydoane left a comment

Choose a reason for hiding this comment

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

Great cleanup, Nick

handle_message({no_pass, Props}, {Worker, From}, #collector{limit = 0} = State) when
is_list(Props)
->
handle_message({no_pass, [_ | _] = Props}, {Worker, From}, #collector{limit = 0} = State) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice use of robot derriere!

@nickva nickva merged commit 11f8156 into main May 17, 2024
23 checks passed
@nickva nickva deleted the cleanup-upgrade-clauses-for-fabric-view-changes branch May 17, 2024 22:05
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

2 participants