Skip to content

Commit

Permalink
Typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
akgalwas committed Aug 6, 2024
1 parent a67ab8d commit cb7a6cd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var _ = Describe("KIM sFnCreateKubeconfig", func() {
}
}

inputRtWithLables := makeInputRuntimeWithLabels()
inputRtWithLabels := makeInputRuntimeWithLabels()
inputRtWithLabelsAndCondition := makeInputRuntimeWithLabels()

readyCondition := metav1.Condition{
Expand Down Expand Up @@ -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"),
Expand All @@ -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)
Expand All @@ -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"),
Expand Down

0 comments on commit cb7a6cd

Please sign in to comment.