-
Notifications
You must be signed in to change notification settings - Fork 177
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: pricePerBroadcaster JSON file line breaks parsing bug #2914
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2914 +/- ##
===================================================
- Coverage 56.54162% 56.52599% -0.01563%
===================================================
Files 89 89
Lines 19460 19453 -7
===================================================
- Hits 11003 10996 -7
Misses 7849 7849
Partials 608 608
Continue to review full report in Codecov by Sentry.
|
Co-authored-by: Rick Staa <[email protected]>
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.
Thanks for adding me as a co-author ❤️🔥.
…2914) * FIX: pricePerBroadcaster JSON file line breaks parsing bug --------- Co-authored-by: Rick Staa <[email protected]>
!! Based on #2913 from @rickstaa !!
What does this pull request do? Explain your changes. (required)
The current go-livepeer livepeer binary does not correctly parse pricePerBroadcaster files if they contain line breaks.
This pull request ensures that the pricePerBroadcaster flag also works with JSON files that contain line breaks as is often done to improve readability.
As far as I could tell, the previous iteration was done as a way to make sure single line + newline files that contained e.g a password parsed correctly and didn't bring in the newline.
Specific updates (required)
How did you test each of these updates (required)
Does this pull request close any open issues?
Fixes #2912
Checklist:
make
runs successfully./test.sh
pass