From 23b8364086503bc6dcc14c7760c54b75791402e5 Mon Sep 17 00:00:00 2001 From: "Felix Wischke (65278)" Date: Mon, 17 Jun 2024 16:52:45 +0200 Subject: [PATCH] pkg/scope/cluster: remove unused clusterScope.ControlPlaneEndpoint (make coverage happy) --- pkg/scope/cluster.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/scope/cluster.go b/pkg/scope/cluster.go index d45fa3e3..65bbddb2 100644 --- a/pkg/scope/cluster.go +++ b/pkg/scope/cluster.go @@ -179,11 +179,6 @@ func (s *ClusterScope) KubernetesClusterName() string { return s.Cluster.Name } -// ControlPlaneEndpoint returns the ControlPlaneEndpoint for the associated ProxmoxCluster. -func (s *ClusterScope) ControlPlaneEndpoint() clusterv1.APIEndpoint { - return *s.ProxmoxCluster.Spec.ControlPlaneEndpoint -} - // PatchObject persists the cluster configuration and status. func (s *ClusterScope) PatchObject() error { // always update the readyCondition.