Skip to content

Commit f8c9b8a

Browse files
committed
style: fix linting issue on EnsurePortsCoherence unexported method
1 parent e4b6534 commit f8c9b8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/liqo-controller-manager/networking/external-network/client-operator/client_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (r *ClientReconciler) EnsureGatewayClient(ctx context.Context, gwClient *ne
129129
return fmt.Errorf("missing label %q on GatewayClient %q", consts.RemoteClusterID, gwClient.Name)
130130
}
131131

132-
modified, err := r.EnsurePortsCoherence(ctx, gwClient)
132+
modified, err := r.ensurePortsCoherence(ctx, gwClient)
133133
if err != nil {
134134
return err
135135
}
@@ -300,7 +300,7 @@ func (r *ClientReconciler) SetupWithManager(mgr ctrl.Manager) error {
300300
Complete(r)
301301
}
302302

303-
func (r *ClientReconciler) EnsurePortsCoherence(ctx context.Context, gw *networkingv1beta1.GatewayClient) (bool, error) {
303+
func (r *ClientReconciler) ensurePortsCoherence(ctx context.Context, gw *networkingv1beta1.GatewayClient) (bool, error) {
304304

305305
if len(gw.Spec.Endpoint.Ports) > 0 && gw.Spec.Endpoint.Port == gw.Spec.Endpoint.Ports[0] {
306306
return false, nil

0 commit comments

Comments
 (0)