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

Print Channel Name as String in Gossip Log #2016

Merged
merged 1 commit into from
Oct 15, 2020
Merged

Print Channel Name as String in Gossip Log #2016

merged 1 commit into from
Oct 15, 2020

Conversation

lindluni
Copy link
Contributor

Channel names are currently byte arrays in the logs, convert them to string.

Signed-off-by: Brett Logan brett.t.logan@ibm.com

@lindluni lindluni requested a review from a team as a code owner October 15, 2020 00:07
@yacovm
Copy link
Contributor

yacovm commented Oct 15, 2020

Maybe just add a Stringer?

@lindluni
Copy link
Contributor Author

🤦 Done

Channel names are currently byte arrays in the logs,
add stringer to convert the to string when printing

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
@yacovm yacovm merged commit d43e5dd into hyperledger:master Oct 15, 2020
@yacovm
Copy link
Contributor

yacovm commented Oct 15, 2020

timer.Reset()

@lindluni
Copy link
Contributor Author

@Mergifyio backport release-2.2

@mergify
Copy link

mergify bot commented Oct 15, 2020

Command backport release-2.2: success

Backports have been created

mergify bot pushed a commit that referenced this pull request Oct 15, 2020
Channel names are currently byte arrays in the logs,
add stringer to convert the to string when printing

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
(cherry picked from commit d43e5dd)

# Conflicts:
#	gossip/gossip/gossip_test.go
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.

2 participants