Skip to content

Commit

Permalink
Correcting debug message (#42)
Browse files Browse the repository at this point in the history
The log message prints Ignoring peer for both Peer and Orderer.

Signed-off-by: Ahmed Sajid <ahmed.sajid@securekey.com>
  • Loading branch information
ahmedsajid committed Jan 30, 2020
1 parent 5361567 commit 51ecb63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/fab/endpointconfig.go
Expand Up @@ -1481,7 +1481,7 @@ func (c *EndpointConfig) tryMatchingPeerConfig(peerSearchKey string, searchByURL
func (c *EndpointConfig) matchPeer(peerSearchKey string, matcher matcherEntry) (*fab.PeerConfig, bool) {

if matcher.matchConfig.IgnoreEndpoint {
logger.Debugf(" Ignoring peer `%s` since entity matcher IgnoreEndpoint flag is on", peerSearchKey)
logger.Debugf("Ignoring peer `%s` since entity matcher IgnoreEndpoint flag is on", peerSearchKey)
return nil, false
}

Expand Down Expand Up @@ -1583,7 +1583,7 @@ func (c *EndpointConfig) tryMatchingOrdererConfig(ordererSearchKey string, searc
func (c *EndpointConfig) matchOrderer(ordererSearchKey string, matcher matcherEntry) (*fab.OrdererConfig, bool) {

if matcher.matchConfig.IgnoreEndpoint {
logger.Debugf(" Ignoring peer `%s` since entity matcher IgnoreEndpoint flag is on", ordererSearchKey)
logger.Debugf("Ignoring orderer `%s` since entity matcher IgnoreEndpoint flag is on", ordererSearchKey)
return nil, false
}

Expand Down

0 comments on commit 51ecb63

Please sign in to comment.