Skip to content

Commit

Permalink
metacorev1 -> metav1
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Jul 12, 2024
1 parent 4fc2e3c commit d8b070a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controllers/interruption/interruption_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func makeScheduledChangeMessagesAndNodes(count int) ([]interface{}, []*corev1.No
instanceID := fake.InstanceID()
msgs = append(msgs, scheduledChangeMessage(instanceID))
nodes = append(nodes, coretest.Node(coretest.NodeOptions{
ObjectMeta: metacorev1.ObjectMeta{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
karpv1.NodePoolLabelKey: "default",
},
Expand All @@ -291,7 +291,7 @@ func makeStateChangeMessagesAndNodes(count int, states []string) ([]interface{},
instanceID := fake.InstanceID()
msgs = append(msgs, stateChangeMessage(instanceID, state))
nodes = append(nodes, coretest.Node(coretest.NodeOptions{
ObjectMeta: metacorev1.ObjectMeta{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
karpv1.NodePoolLabelKey: "default",
},
Expand All @@ -309,7 +309,7 @@ func makeSpotInterruptionMessagesAndNodes(count int) ([]interface{}, []*corev1.N
instanceID := fake.InstanceID()
msgs = append(msgs, spotInterruptionMessage(instanceID))
nodes = append(nodes, coretest.Node(coretest.NodeOptions{
ObjectMeta: metacorev1.ObjectMeta{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
karpv1.NodePoolLabelKey: "default",
},
Expand Down

0 comments on commit d8b070a

Please sign in to comment.