From 30c453e6cecddebd1ede2b8de5ec0bb0f618629a Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Sun, 10 Dec 2023 07:42:05 +0100 Subject: [PATCH] Fix the spelling for some of the comments. --- e2e/setup/setup_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/setup/setup_test.go b/e2e/setup/setup_test.go index bb15612d..9c987861 100644 --- a/e2e/setup/setup_test.go +++ b/e2e/setup/setup_test.go @@ -98,7 +98,7 @@ func TestMain(m *testing.M) { logger.Fatal(err.Error()) } - // wait for an interval for reconciliation to update status. + // Wait for an interval for reconciliation to update status. time.Sleep(interval) // Wait for NATS CR to get ready. @@ -438,7 +438,7 @@ func waitForNATSManagerDeploymentReady(image string) error { return err } - // if image is provided, then check if the deployment has correct image. + // If the image is provided, then check if the deployment has the correct image. if image != "" && gotDeployment.Spec.Template.Spec.Containers[0].Image != image { err := fmt.Errorf("expected NATS-manager image to be: %s, but found: %s", image, gotDeployment.Spec.Template.Spec.Containers[0].Image, @@ -447,7 +447,7 @@ func waitForNATSManagerDeploymentReady(image string) error { return err } - // check if the deployment is ready. + // Check if the deployment is ready. if *gotDeployment.Spec.Replicas != gotDeployment.Status.UpdatedReplicas || *gotDeployment.Spec.Replicas != gotDeployment.Status.ReadyReplicas || *gotDeployment.Spec.Replicas != gotDeployment.Status.AvailableReplicas {