From cb7a6cdb52387bc89b271b1fd103e2194fd49872 Mon Sep 17 00:00:00 2001 From: Arkadiusz Galwas Date: Tue, 6 Aug 2024 11:41:44 +0200 Subject: [PATCH] Typo fixed --- .../runtime/fsm/runtime_fsm_create_kubeconfig_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/controller/runtime/fsm/runtime_fsm_create_kubeconfig_test.go b/internal/controller/runtime/fsm/runtime_fsm_create_kubeconfig_test.go index 3f167ca5..43459124 100644 --- a/internal/controller/runtime/fsm/runtime_fsm_create_kubeconfig_test.go +++ b/internal/controller/runtime/fsm/runtime_fsm_create_kubeconfig_test.go @@ -34,7 +34,7 @@ var _ = Describe("KIM sFnCreateKubeconfig", func() { } } - inputRtWithLables := makeInputRuntimeWithLabels() + inputRtWithLabels := makeInputRuntimeWithLabels() inputRtWithLabelsAndCondition := makeInputRuntimeWithLabels() readyCondition := metav1.Condition{ @@ -75,7 +75,7 @@ var _ = Describe("KIM sFnCreateKubeconfig", func() { "should create GardenCluster CR when it does not existed before", testCtx, must(newFakeFSM, withTestFinalizer, withTestSchemeAndObjects()), - &systemState{instance: *inputRtWithLables, shoot: &testShoot}, + &systemState{instance: *inputRtWithLabels, shoot: &testShoot}, testOpts{ MatchExpectedErr: BeNil(), MatchNextFnState: haveName("sFnUpdateStatus"), @@ -86,7 +86,7 @@ var _ = Describe("KIM sFnCreateKubeconfig", func() { "should remain in waiting state when GardenCluster CR exists and is not ready yet", testCtx, must(newFakeFSM, withTestFinalizer, withTestSchemeAndObjects(testGardenerCRStatePending)), - &systemState{instance: *inputRtWithLables, shoot: &testShoot}, + &systemState{instance: *inputRtWithLabels, shoot: &testShoot}, testOpts{ MatchExpectedErr: BeNil(), MatchNextFnState: BeNil(), // corresponds to requeueAfter(controlPlaneRequeueDuration) @@ -106,7 +106,7 @@ var _ = Describe("KIM sFnCreateKubeconfig", func() { "should return sFnUpdateStatus when GardenCluster CR exists and is in ready state and condition is not set", testCtx, must(newFakeFSM, withTestFinalizer, withTestSchemeAndObjects(testGardenerCRStateReady)), - &systemState{instance: *inputRtWithLables, shoot: &testShoot}, + &systemState{instance: *inputRtWithLabels, shoot: &testShoot}, testOpts{ MatchExpectedErr: BeNil(), MatchNextFnState: haveName("sFnUpdateStatus"),