Skip to content

Commit a35d904

Browse files
committed
Fix test
Signed-off-by: Lubron Zhan <[email protected]>
1 parent 9f9da49 commit a35d904

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/controllers/machine/machine_controller_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -2664,6 +2664,9 @@ func TestIsDeleteNodeAllowed(t *testing.T) {
26642664
DeletionTimestamp: &deletionts,
26652665
Finalizers: []string{clusterv1.ClusterFinalizer},
26662666
},
2667+
Spec: clusterv1.ClusterSpec{
2668+
Topology: &clusterv1.Topology{},
2669+
},
26672670
},
26682671
machine: &clusterv1.Machine{},
26692672
expectedError: errClusterIsBeingDeleted,

0 commit comments

Comments
 (0)