-
Notifications
You must be signed in to change notification settings - Fork 167
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: rename internal references from Broadcaster to Gateway #3060
Conversation
This commit updates internal references from 'Broadcaster' to 'Gateway' in accordance with the core team’s decision. For more details, refer to the discussion: [Discord Link](https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3060 +/- ##
=============================================
Coverage 57.40929% 57.40929%
=============================================
Files 92 92
Lines 15764 15764
=============================================
Hits 9050 9050
Misses 6111 6111
Partials 603 603
Continue to review full report in Codecov by Sentry.
|
@victorges I noticed in #2981 hat you added the following line: go-livepeer/cmd/livepeer/starter/starter.go Line 796 in b739f35
Since there's no goroutine or defer statement inside the loop that could cause a closure over the loop variable, we can safely remove the |
Hey @rickstaa! go-livepeer/cmd/livepeer/starter/starter.go Line 799 in b739f35
And that updater itself might start a goroutine that eventually runs that function. Do you think this could be made clear in some way? |
@victorges Ah, I think I had been programming for too long when I asked that question and overlooked the anonymous function 🤦🏻. Thanks for your explanation! I think in that case we are good to merge this 👍🏻. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this pull request do? Explain your changes. (required)
This pull request updates internal references from 'Broadcaster' to 'Gateway' in accordance with the core team’s decision. For more details, refer to the discussion: Discord
Link.
It follows up on #3056 as I noticed I forgot to rename some references.
Specific updates (required)
livepeer.go
andstarter.go
files.How did you test each of these updates (required)
I checked the tests were successful and started a off-chain orchestrator and gateway.
Does this pull request close any open issues?
NO
Checklist:
make
runs successfully./test.sh
pass