From 5f4d1615ac8bacc90231b6215b681f27fd71eecf Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Tue, 16 Jan 2024 14:55:06 -0600 Subject: [PATCH] pass nil to ShowWorkflow Signed-off-by: Florent Poinsard --- pkg/controller/vitesskeyspace/reconcile_resharding.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/controller/vitesskeyspace/reconcile_resharding.go b/pkg/controller/vitesskeyspace/reconcile_resharding.go index e43b4fde..263ea27a 100644 --- a/pkg/controller/vitesskeyspace/reconcile_resharding.go +++ b/pkg/controller/vitesskeyspace/reconcile_resharding.go @@ -56,11 +56,7 @@ func (r *reconcileHandler) reconcileResharding(ctx context.Context) (reconcile.R // Look for a resharding workflow. If we find a second one bail out. var reshardingWorkflow *wrangler.ReplicationStatusResult for _, workflowName := range workflowList { - var shards []string - for _, shard := range r.vtk.Spec.ShardTemplates() { - shards = append(shards, shard.KeyRange.String()) - } - workflow, err := r.wr.ShowWorkflow(ctx, workflowName, r.vtk.Spec.Name, shards) + workflow, err := r.wr.ShowWorkflow(ctx, workflowName, r.vtk.Spec.Name, nil) if err != nil { // The only reason this would fail is if runVExec fails. This could be a topo communication failure or any number // of indeterminable failures. We probably want to requeu faster than the resync period to try again, but wait a bit in