Skip to content

Commit 00c07a3

Browse files
committed
fix
1 parent 9addabc commit 00c07a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/infrastructure/vcsim/controllers/vspherevm_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ func (r *VSphereVMReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Man
347347
return nil
348348
}
349349

350+
// Reimplementation of some functions at "sigs.k8s.io/cluster-api/util" to be compatible to v1beta1.
351+
350352
// getClusterV1Beta1FromMetadata returns the Cluster object (if present) using the object metadata.
351353
func getClusterV1Beta1FromMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*clusterv1beta1.Cluster, error) {
352354
if obj.Labels[clusterv1beta1.ClusterNameLabel] == "" {

0 commit comments

Comments
 (0)