Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yiannis Triantafyllopoulos <[email protected]>
  • Loading branch information
Danil-Grigorev and yiannistri authored Nov 27, 2024
1 parent da5c545 commit 1c53768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework/turtles.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func WaitForCAPIProviderRollout(ctx context.Context, input WaitForCAPIProviderRo
}

if input.Deployment != nil && input.Image != "" {
Byf("Waiting for Deployemnt %s to contain image %s", client.ObjectKeyFromObject(input.Deployment).String(), input.Image)
Byf("Waiting for Deployment %s to contain image %s", client.ObjectKeyFromObject(input.Deployment).String(), input.Image)
Eventually(func(g Gomega) {
g.Expect(input.Getter.Get(ctx, client.ObjectKeyFromObject(input.Deployment), input.Deployment)).To(Succeed())
found := false
Expand All @@ -67,7 +67,7 @@ func WaitForCAPIProviderRollout(ctx context.Context, input WaitForCAPIProviderRo
}
g.Expect(found).To(BeTrue())
}, intervals...).Should(Succeed(),
"Failed to get Deployemnt %s with image %s. Last observed: %s",
"Failed to get Deployment %s with image %s. Last observed: %s",
client.ObjectKeyFromObject(input.Deployment).String(), input.Image, klog.KObj(input.Deployment))
}
}

0 comments on commit 1c53768

Please sign in to comment.