From 51ecb63acb5ae148e53f0dd4f4053973a69499e7 Mon Sep 17 00:00:00 2001 From: Ahmed Sajid Date: Thu, 30 Jan 2020 16:47:13 -0500 Subject: [PATCH] Correcting debug message (#42) The log message prints Ignoring peer for both Peer and Orderer. Signed-off-by: Ahmed Sajid --- pkg/fab/endpointconfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/fab/endpointconfig.go b/pkg/fab/endpointconfig.go index 1cccc33161..6e5b8da058 100644 --- a/pkg/fab/endpointconfig.go +++ b/pkg/fab/endpointconfig.go @@ -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 } @@ -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 }