Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96353c0 commit 2d73a73Copy full SHA for 2d73a73
storagenode/piecestore/endpoint.go
@@ -695,7 +695,7 @@ func (endpoint *Endpoint) Download(stream pb.DRPCPiecestore_DownloadStream) (err
695
return rpcstatus.NamedWrap("open-failed", rpcstatus.Internal, err)
696
}
697
defer func() {
698
- err := pieceReader.Close() // similarly how transcation Rollback works
+ err := pieceReader.Close() // similarly how transaction Rollback works
699
if err != nil {
700
if errs2.IsCanceled(err) {
701
return
0 commit comments