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

core/leadercast: fix implementation #205

Merged
merged 1 commit into from
Mar 10, 2022
Merged

core/leadercast: fix implementation #205

merged 1 commit into from
Mar 10, 2022

Conversation

corverroos
Copy link
Contributor

Fixes leadercast, as well as in-memory transport and the tests.

category: bug
ticket: #203

@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@4b7ecd3). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #205   +/-   ##
=======================================
  Coverage        ?   50.78%           
=======================================
  Files           ?       47           
  Lines           ?     3048           
  Branches        ?        0           
=======================================
  Hits            ?     1548           
  Misses          ?     1305           
  Partials        ?      195           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b7ecd3...2e53298. Read the comment docs.

Copy link
Contributor

@dB2510 dB2510 left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -167,44 +170,58 @@ func NewMemTransportFunc(ctx context.Context) func() Transport {
}
}()

var index int
Copy link
Contributor

Choose a reason for hiding this comment

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

this variable can also be named as peerIdx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No it can't there is another peerIdx below.

@corverroos corverroos merged commit 48f7074 into main Mar 10, 2022
@corverroos corverroos deleted the corver/lcastfix branch March 10, 2022 09:52
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