Skip to content

Commit

Permalink
Fix the spelling for some of the comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Dec 10, 2023
1 parent e235f53 commit 30c453e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/setup/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand All @@ -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 {
Expand Down

0 comments on commit 30c453e

Please sign in to comment.