Skip to content

Commit cbf9d1b

Browse files
komer3Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 808822f commit cbf9d1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cloud/linode/loadbalancers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ func (l *loadbalancers) updateNodeBalancer(
508508
useIPv6Backends := resolveIPv6NodeBalancerBackendState(service)
509509
newNBNodes, err := l.buildNodeBalancerConfigNodes(service, nodes, port.NodePort, subnetID, useIPv6Backends, newNBCfg.Protocol, oldNBNodeIDs)
510510
if err != nil {
511-
return err
511+
sentry.CaptureError(ctx, err)
512+
return fmt.Errorf("[port %d] error building NodeBalancer backend node configs: %w", int(port.Port), err)
512513
}
513514

514515
// If there's no existing config, create it

0 commit comments

Comments
 (0)