Skip to content

Commit

Permalink
pkg/scope/cluster: remove unused clusterScope.ControlPlaneEndpoint (m…
Browse files Browse the repository at this point in the history
…ake coverage happy)
  • Loading branch information
Felix Wischke (65278) authored and wikkyk committed Jun 26, 2024
1 parent b8e5c3f commit 23b8364
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/scope/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 23b8364

Please sign in to comment.