From 3403aa52ba845e639e0800c6a7ff54a97ee646fe Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Fri, 17 Nov 2023 15:51:06 +0100 Subject: [PATCH] Address mistake during merge Signed-off-by: Matt Lord --- go/test/endtoend/vreplication/cluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/test/endtoend/vreplication/cluster_test.go b/go/test/endtoend/vreplication/cluster_test.go index f8490b93d9d..784fcd870dd 100644 --- a/go/test/endtoend/vreplication/cluster_test.go +++ b/go/test/endtoend/vreplication/cluster_test.go @@ -795,7 +795,7 @@ func (vc *VitessCluster) getPrimaryTablet(t *testing.T, ksName, shardName string continue } for _, tablet := range shard.Tablets { - if strings.EqualFold(tablet.Vttablet.TabletType, "primary") && strings.EqualFold(tablet.Vttablet.GetTabletStatus(), "SERVING") { + if strings.EqualFold(tablet.Vttablet.TabletType, "primary") { return tablet.Vttablet } }