We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff0573 commit c2dc2ebCopy full SHA for c2dc2eb
internal/controllers/machine/machine_controller_test.go
@@ -2821,11 +2821,11 @@ func TestIsDeleteNodeAllowed(t *testing.T) {
2821
},
2822
Status: clusterv1.MachineStatus{},
2823
2824
- infraMachine: &InfrastructureMachine{
2825
- Spec: InfrastructureMachineSpec{
2826
- ProviderID: ptr.To("test-node-a"),
+ infraMachine: &unstructured.Unstructured{Object: map[string]interface{}{
+ "spec": map[string]interface{}{
+ "providerID": "test-node-a",
2827
2828
- },
+ }},
2829
expectedError: nil,
2830
2831
}
0 commit comments