Skip to content

Commit

Permalink
Remove "--" args
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Jan 2, 2025
1 parent 6e4a4b0 commit ca1064b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -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)
}

Expand Down
2 changes: 1 addition & 1 deletion go/test/endtoend/vreplication/sidecardb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit ca1064b

Please sign in to comment.