Skip to content

Commit

Permalink
Merge pull request #1888 from kaitoii11/fix-typos
Browse files Browse the repository at this point in the history
Fix simple typo
  • Loading branch information
k8s-ci-robot authored Nov 25, 2021
2 parents 066aa2b + 9acef8b commit 99faab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure/services/vnetpeerings/vnetpeerings.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (s *Service) Reconcile(ctx context.Context) error {
defer cancel()

// We go through the list of VnetPeeringSpecs to reconcile each one, independently of the result of the previous one.
// If multiple erros occur, we return the most pressing one
// If multiple errors occur, we return the most pressing one
// order of precedence is: error creating -> creating in progress -> created (no error)
var result error
for _, peeringSpec := range s.Scope.VnetPeeringSpecs() {
Expand All @@ -87,7 +87,7 @@ func (s *Service) Delete(ctx context.Context) error {
var result error

// We go through the list of VnetPeeringSpecs to delete each one, independently of the result of the previous one.
// If multiple erros occur, we return the most pressing one
// If multiple errors occur, we return the most pressing one
// order of precedence is: error deleting -> deleting in progress -> deleted (no error)
for _, peeringSpec := range s.Scope.VnetPeeringSpecs() {
if err := async.DeleteResource(ctx, s.Scope, s.Client, peeringSpec, serviceName); err != nil {
Expand Down

0 comments on commit 99faab8

Please sign in to comment.