Skip to content

Commit

Permalink
Fix test that passes a nil mutator to 'move'
Browse files Browse the repository at this point in the history
The call is incorrect, but the test does not fail, because it enables
dry-run, and that does not exercise the mutators.
  • Loading branch information
dlipovetsky authored and k8s-infra-cherrypick-robot committed Aug 1, 2024
1 parent 21060ea commit caa479e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/cluster/mover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ func Test_objectMover_move_dryRun(t *testing.T) {
dryRun: true,
}

err := mover.move(ctx, graph, toProxy, nil)
err := mover.move(ctx, graph, toProxy)
if tt.wantErr {
g.Expect(err).To(HaveOccurred())
return
Expand Down

0 comments on commit caa479e

Please sign in to comment.