From ca1064b5e56ec7e6143e4f1bb513ac2dae631625 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Thu, 2 Jan 2025 16:38:19 -0500 Subject: [PATCH] Remove "--" args Signed-off-by: Matt Lord --- go/test/endtoend/vreplication/cluster_test.go | 2 +- go/test/endtoend/vreplication/sidecardb_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/test/endtoend/vreplication/cluster_test.go b/go/test/endtoend/vreplication/cluster_test.go index b242fbd2e9a..70c6a8a5b7f 100644 --- a/go/test/endtoend/vreplication/cluster_test.go +++ b/go/test/endtoend/vreplication/cluster_test.go @@ -735,7 +735,7 @@ func (vc *VitessCluster) DeleteShard(t testing.TB, cellName string, ksName strin } log.Infof("Deleting Shard %s", shardName) // TODO how can we avoid the use of even_if_serving? - if output, err := vc.VtctldClient.ExecuteCommandWithOutput("DeleteShard", "--", "--recursive", "--even-if-serving", ksName+"/"+shardName); err != nil { + if output, err := vc.VtctldClient.ExecuteCommandWithOutput("DeleteShard", "--recursive", "--even-if-serving", ksName+"/"+shardName); err != nil { t.Fatalf("DeleteShard command failed with error %+v and output %s\n", err, output) } diff --git a/go/test/endtoend/vreplication/sidecardb_test.go b/go/test/endtoend/vreplication/sidecardb_test.go index 704742d305b..f908d66a2ec 100644 --- a/go/test/endtoend/vreplication/sidecardb_test.go +++ b/go/test/endtoend/vreplication/sidecardb_test.go @@ -51,7 +51,7 @@ func init() { } func prs(t *testing.T, keyspace, shard string) { - _, err := vc.VtctldClient.ExecuteCommandWithOutput("PlannedReparentShard", "--", fmt.Sprintf("%s/%s", keyspace, shard)) + _, err := vc.VtctldClient.ExecuteCommandWithOutput("PlannedReparentShard", fmt.Sprintf("%s/%s", keyspace, shard)) require.NoError(t, err) }