Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d73a73

Browse files
ifraixedesStorj Robot
authored andcommitted
storagenode/piecestore: Fix typo in code comment
Change-Id: Ib147fc471cb1604a3c960c1fcd0f211b981a0b39
1 parent 96353c0 commit 2d73a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storagenode/piecestore/endpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ func (endpoint *Endpoint) Download(stream pb.DRPCPiecestore_DownloadStream) (err
695695
return rpcstatus.NamedWrap("open-failed", rpcstatus.Internal, err)
696696
}
697697
defer func() {
698-
err := pieceReader.Close() // similarly how transcation Rollback works
698+
err := pieceReader.Close() // similarly how transaction Rollback works
699699
if err != nil {
700700
if errs2.IsCanceled(err) {
701701
return

0 commit comments

Comments
 (0)