Skip to content

Commit bf297b6

Browse files
committed
update tests to use new WithMachineTemplateLables()
1 parent 92f61bb commit bf297b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/machineset/machineset_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var _ = Describe("MachineSet Reconciler", func() {
9292
WithNamespace(namespace.ObjectMeta.Name).
9393
WithGenerateName("foo").
9494
WithReplicas(replicas).
95-
WithLabels(map[string]string{"foo": "bar"})
95+
WithMachineTemplateLabels(map[string]string{"foo": "bar"})
9696
})
9797

9898
AfterEach(func() {
@@ -152,7 +152,7 @@ var _ = Describe("MachineSet Reconciler", func() {
152152
BeforeEach(func() {
153153
instance = machineSetBuilder.
154154
WithGenerateName("baz-").
155-
WithLabels(map[string]string{"baz": "bar"}).
155+
WithMachineTemplateLabels(map[string]string{"baz": "bar"}).
156156
Build()
157157
})
158158
It("Should set the Paused condition appropriately", func() {

0 commit comments

Comments
 (0)