Skip to content

Commit

Permalink
style: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmetzner committed Dec 20, 2024
1 parent ee57640 commit 227dac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/hcops/load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,16 +867,16 @@ func (l *LoadBalancerOps) ReconcileHCLBServices(
delete(hclbListenPorts, portNo)

if port.Protocol != "" && port.Protocol != corev1.ProtocolTCP {
warnMsg := fmt.Sprintf(
warnMsg := fmt.Sprintf(
"configured unsupported Hetzner Cloud load balancer protocol %s for service with name %s",
port.Protocol,
svc.Name,
)
)
l.Recorder.Event(
svc,
corev1.EventTypeWarning,
"UnsupportedProtocolConfigured",
warnMsg,
warnMsg,
)
klog.Warning(warnMsg)
}
Expand Down

0 comments on commit 227dac9

Please sign in to comment.