Skip to content

Commit

Permalink
Address mistake during merge
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Nov 17, 2023
1 parent 58a0709 commit 3403aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/test/endtoend/vreplication/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 3403aa5

Please sign in to comment.