Skip to content

Commit

Permalink
Merge pull request #1424 from 0chain/hotfix/retry-check
Browse files Browse the repository at this point in the history
Fix retry check
  • Loading branch information
dabasov authored May 20, 2024
2 parents 5d85d41 + 8593ba2 commit e1543b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/blobbercore/writemarker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func tryAgain(md *markerData) {

// Can add more cases where we don't want to retry
func retryRedeem(errString string) bool {
return !strings.Contains(errString, "value not present") || !strings.Contains(errString, "Blobber is not part of the allocation")
return !strings.Contains(errString, "value not present") && !strings.Contains(errString, "Blobber is not part of the allocation")
}

func startCollector(ctx context.Context) {
Expand Down

0 comments on commit e1543b4

Please sign in to comment.