From bc1348812ac1482d339b95a4641a85d9ed1452f9 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 17 Dec 2024 02:37:30 +0100 Subject: [PATCH] fix error Signed-off-by: Tim Vaillancourt --- go/vt/vtorc/logic/keyspace_shard_discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtorc/logic/keyspace_shard_discovery.go b/go/vt/vtorc/logic/keyspace_shard_discovery.go index 4473e993c37..cff5b9fa2ac 100644 --- a/go/vt/vtorc/logic/keyspace_shard_discovery.go +++ b/go/vt/vtorc/logic/keyspace_shard_discovery.go @@ -166,7 +166,7 @@ func refreshAllShards(ctx context.Context, keyspaceName string) error { return err } } - return inst.DeleteStaleKeyspaceShards(keyspace, beginSaveTime) + return inst.DeleteStaleKeyspaceShards(keyspaceName, beginSaveTime) } // refreshSingleShardHelper is a helper function that refreshes the shard record of the given keyspace/shard.