Skip to content

Commit

Permalink
Merge pull request #11145 from filecoin-project/update-logging
Browse files Browse the repository at this point in the history
fix: downgrade harmless warning to debug
  • Loading branch information
arajasek authored Aug 8, 2023
2 parents 8842466 + c6d31c0 commit 87458af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/sealer/ffiwrapper/sealer_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (sb *Sealer) AddPiece(ctx context.Context, sector storiface.SectorRef, exis
defer func() {
closer, ok := origPieceData.(io.Closer)
if !ok {
log.Warnf("AddPiece: cannot close pieceData reader %T because it is not an io.Closer", origPieceData)
log.Debugf("AddPiece: cannot close pieceData reader %T because it is not an io.Closer", origPieceData)
return
}
if err := closer.Close(); err != nil {
Expand Down

0 comments on commit 87458af

Please sign in to comment.