Skip to content

Commit

Permalink
fix: .
Browse files Browse the repository at this point in the history
  • Loading branch information
acha-bill committed Jan 9, 2024
1 parent b411f5b commit a08a0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/check/erasurecode/erasurecode.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
RedundancyFallbackMode: &fallback,
ChunkRetrievalTimeout: &timeout,
})
if strategy == 0 {
if strategy == 0 && !fallback {
strategy-- // repeat for strategy 0 with fallback=true
fallback = true
}
Expand Down

0 comments on commit a08a0b6

Please sign in to comment.