Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve peer CLI error message when no orderer address passed (#1555)
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)
- Loading branch information