Skip to content

Commit

Permalink
Merge pull request #149 from luthermonson/typo
Browse files Browse the repository at this point in the history
fixing typo in log
  • Loading branch information
luthermonson authored Dec 2, 2023
2 parents 8086249 + e17ff81 commit cd35e2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloud/linode/loadbalancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func (l *loadbalancers) EnsureLoadBalancerDeleted(ctx context.Context, clusterNa
serviceNn := getServiceNn(service)

if len(service.Status.LoadBalancer.Ingress) == 0 {
klog.Infof("short-circuting deletion of NodeBalancer for service(%s) as LoadBalancer ingress is not present", serviceNn)
klog.Infof("short-circuiting deletion of NodeBalancer for service(%s) as LoadBalancer ingress is not present", serviceNn)
return nil
}

Expand All @@ -442,7 +442,7 @@ func (l *loadbalancers) EnsureLoadBalancerDeleted(ctx context.Context, clusterNa
break

case lbNotFoundError:
klog.Infof("short-circuting deletion for NodeBalancer for service (%s) as one does not exist: %s", serviceNn, err)
klog.Infof("short-circuiting deletion for NodeBalancer for service (%s) as one does not exist: %s", serviceNn, err)
return nil

default:
Expand All @@ -452,7 +452,7 @@ func (l *loadbalancers) EnsureLoadBalancerDeleted(ctx context.Context, clusterNa
}

if l.shouldPreserveNodeBalancer(service) {
klog.Infof("short-circuting deletion of NodeBalancer (%d) for service (%s) as annotated with %s", nb.ID, serviceNn, annLinodeLoadBalancerPreserve)
klog.Infof("short-circuiting deletion of NodeBalancer (%d) for service (%s) as annotated with %s", nb.ID, serviceNn, annLinodeLoadBalancerPreserve)
return nil
}

Expand Down

0 comments on commit cd35e2b

Please sign in to comment.