Skip to content

Commit

Permalink
Remove un-needed WARN logging from MCS
Browse files Browse the repository at this point in the history
This shouldn't be logged at all, and isn't a warning, or a problem.

Change-Id: I380173942f1e2a0ce98381bd009948cb61a44917
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed Feb 23, 2017
1 parent 5219e39 commit 6fde439
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions peer/gossip/sa/sa.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ func (advisor *mspSecurityAdvisor) OrgByPeerIdentity(peerIdentity api.PeerIdenti

// First check against the local MSP.
identity, err := mgmt.GetLocalMSP().DeserializeIdentity([]byte(peerIdentity))
if err != nil {
logger.Warning("LocalMSP failed deserializing peer identity [%s]", err)
} else {
if err == nil {
return []byte(identity.GetMSPIdentifier())
}

Expand Down

0 comments on commit 6fde439

Please sign in to comment.