Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions hcloud/load_balancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ type LoadBalancerOps interface {
type loadBalancers struct {
lbOps LoadBalancerOps
ipv6EnabledDefault bool
proxyProtocolEnabledDefault bool
privateIngressEnabledDefault bool
}

Expand Down Expand Up @@ -280,7 +279,7 @@ func (l *loadBalancers) getProxyProtocolEnabled(svc *corev1.Service) (bool, erro
return enable, nil
}
if errors.Is(err, annotation.ErrNotSet) {
return l.proxyProtocolEnabledDefault, nil
return false, nil
}
return false, err
}
Expand Down
Loading