Skip to content

Commit

Permalink
Merge pull request #1003 from jaydeokar/automated-cherry-pick-of-#997…
Browse files Browse the repository at this point in the history
…-upstream-release-1.29

Automated cherry pick of #997: Handle error while registering/deregistering target during
  • Loading branch information
k8s-ci-robot authored Jul 30, 2024
2 parents 2e2b06c + 2483f91 commit ee9ff37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/providers/v1/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -4492,7 +4492,8 @@ func (c *Cloud) UpdateLoadBalancer(ctx context.Context, clusterName string, serv

err = c.ensureLoadBalancerInstances(aws.StringValue(lb.LoadBalancerName), lb.Instances, instances)
if err != nil {
return nil
klog.Warningf("Error registering/deregistering instances with the load balancer: %q", err)
return err
}

err = c.updateInstanceSecurityGroupsForLoadBalancer(lb, instances, service.Annotations)
Expand Down

0 comments on commit ee9ff37

Please sign in to comment.