diff --git a/pkg/file/redundancy/getter/getter.go b/pkg/file/redundancy/getter/getter.go index bc2828e38bc..ce1181b045d 100644 --- a/pkg/file/redundancy/getter/getter.go +++ b/pkg/file/redundancy/getter/getter.go @@ -241,6 +241,10 @@ func (g *decoder) runStrategy(ctx context.Context, s Strategy) error { } } + if len(m) == 0 { + return nil + } + c := make(chan error, len(m)) for _, i := range m {