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

Improve peer CLI error message when no orderer address passed (bp #1555) #1558

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jul 8, 2020

This is an automated backport of pull request #1555 done by Mergify

Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the simulator.

Finally, you can contact us on https://mergify.io/

For peer CLI commands that require an orderer address, the peer
does best effort attempt to retrieve orderer address from channel
config if the orderer address is not passed (it currently only
checks the deprecated Orderer.Addresses, not the org level
OrdererEndpoints). The best effort attempt may be removed in
a future release, so for now improve the error message
to indicate that orderer address should be passed using
-o flag.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
(cherry picked from commit 6ef8f3d)
@caod123
Copy link

caod123 commented Jul 8, 2020

@btl5037 that's wild, have you ever seen a Mergifyio backport fail the DCO?

@lindluni
Copy link
Contributor

lindluni commented Jul 8, 2020

Actually it happens with Dave's commits all the time ha. I fixed it

@denyeart denyeart merged commit d2dfc63 into release-2.2 Jul 8, 2020
@mergify mergify bot deleted the mergify/bp/release-2.2/pr-1555 branch July 8, 2020 10:10
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