Skip to content

Commit

Permalink
Fix warning log printing
Browse files Browse the repository at this point in the history
Warningf should be used instead of warning.

Change-Id: I86c7fd1c5cbb66a171c501b379488a6c3cf62cff
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
(cherry picked from commit 167fdcd)
  • Loading branch information
yacovm authored and ale-linux committed May 6, 2022
1 parent 578a648 commit 61d5840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip/privdata/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (p *puller) fetchPrivateData(dig2Filter digestToFilterMapping) (*privdataco

peer2digests, members = p.assignDigestsToPeers(members, dig2Filter)
if len(peer2digests) == 0 {
p.logger.Warning("No available peers for digests request, "+
p.logger.Warningf("No available peers for digests request, "+
"cannot pull missing private data for following digests [%+v], peer membership: [%+v]",
dig2Filter.digests(), members)
return res, nil
Expand Down

0 comments on commit 61d5840

Please sign in to comment.