Fix typos

This commit is contained in:
Andrea Gelmini
2023-12-06 13:11:55 +01:00
parent b72de5a883
commit 241916d55b
45 changed files with 67 additions and 67 deletions

View File

@@ -932,7 +932,7 @@ func streamPackPart(ctx context.Context, beLoad BackendLoadFn, key *crypto.Key,
ctx, cancel := context.WithCancel(ctx)
// stream blobs in pack
err = beLoad(ctx, h, int(dataEnd-dataStart), int64(dataStart), func(rd io.Reader) error {
// prevent callbacks after cancelation
// prevent callbacks after cancellation
if ctx.Err() != nil {
return ctx.Err()
}