Skip to content

Commit e143580

Browse files
committed
Fix test that passes a nil mutator to 'move'
The call is incorrect, but the test does not fail, because it enables dry-run, and that does not exercise the mutators.
1 parent 71a2394 commit e143580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/clusterctl/client/cluster/mover_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ func Test_objectMover_move_dryRun(t *testing.T) {
12031203
dryRun: true,
12041204
}
12051205

1206-
err := mover.move(ctx, graph, toProxy, nil)
1206+
err := mover.move(ctx, graph, toProxy)
12071207
if tt.wantErr {
12081208
g.Expect(err).To(HaveOccurred())
12091209
return

0 commit comments

Comments
 (0)