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

Fix DialPeerCondition::Always handling #1937

Merged
merged 4 commits into from
Jan 27, 2021
Merged

Fix DialPeerCondition::Always handling #1937

merged 4 commits into from
Jan 27, 2021

Conversation

koivunej
Copy link
Contributor

Happened to test this DialPeerCondition::Always and found that it never works.

@koivunej
Copy link
Contributor Author

Not sure why the github UI is telling me my branch is out of date already, even if I cannot see any new commits after 6400719.

Looked around, there doesn't seem to be any tests to extend with the variant so didn't add them here either.

Copy link
Contributor

@romanb romanb left a comment

Choose a reason for hiding this comment

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

Thanks.

swarm/src/lib.rs Outdated Show resolved Hide resolved
@koivunej
Copy link
Contributor Author

Force pushed for having mixed up the parent of the first commit probably, which caused the branch out of date notification I was wondering.

Copy link
Contributor

@romanb romanb left a comment

Choose a reason for hiding this comment

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

We can probably put this out in a libp2p-swarm patch release straight away together with #1936. @mxinden What do you think?

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks @koivunej for the fix!

We can probably put this out in a libp2p-swarm patch release straight away together with #1936. @mxinden What do you think?

Sounds good to me. @romanb do you have time to prepare a new release? If not, I can do so later tonight or early tomorrow.

@romanb
Copy link
Contributor

romanb commented Jan 27, 2021

[..] do you have time to prepare a new release?

Sure, I will take care of it.

@romanb romanb merged commit ab6fecd into libp2p:master Jan 27, 2021
@romanb
Copy link
Contributor

romanb commented Jan 27, 2021

Released as libp2p-swarm-0.27.1.

@koivunej koivunej deleted the fix_condition_always branch January 28, 2021 08:30
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.

3 participants