mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Fix style of logOnceIf calls w/unique identifiers (#17631)
This commit is contained in:
@@ -807,7 +807,7 @@ func (sys *NotificationSys) addNodeErr(nodeInfo madmin.NodeInfo, peerClient *pee
|
||||
addr := peerClient.host.String()
|
||||
reqInfo := (&logger.ReqInfo{}).AppendTags("remotePeer", addr)
|
||||
ctx := logger.SetReqInfo(GlobalContext, reqInfo)
|
||||
logger.LogOnceIf(ctx, err, "add-node-err"+addr)
|
||||
logger.LogOnceIf(ctx, err, "add-node-err-"+addr)
|
||||
nodeInfo.SetAddr(addr)
|
||||
nodeInfo.SetError(err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user