File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ func (r *ReconciliationRunner) NewChildObjectMeta(name string) metav1.ObjectMeta
488
488
Name : strings .ToLower (name ),
489
489
Namespace : r .Request .Namespace ,
490
490
Labels : map [string ]string {clusterv1 .ClusterLabelName : r .CAPICluster .Name ,
491
- infrav1 .CloudStackClusterLabelName : r .CSCluster . ClusterName },
491
+ infrav1 .CloudStackClusterLabelName : r .CAPICluster . Name },
492
492
OwnerReferences : []metav1.OwnerReference {
493
493
* metav1 .NewControllerRef (r .ReconciliationSubject , ownerGVK ),
494
494
},
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ func (r *ReconciliationRunner) RemoveExtraneousFailureDomains(fds *infrav1.Cloud
79
79
fdPresenceByName := map [string ]bool {}
80
80
for _ , fdSpec := range r .CSCluster .Spec .FailureDomains {
81
81
name := fdSpec .Name
82
- if ! strings .HasSuffix (name , "-" + r .CAPICluster .ClusterName ) { // Add cluster name suffix if missing.
82
+ if ! strings .HasSuffix (name , "-" + r .CAPICluster .Name ) { // Add cluster name suffix if missing.
83
83
name = name + "-" + r .CAPICluster .Name
84
84
}
85
85
fdPresenceByName [name ] = true
You can’t perform that action at this time.
0 commit comments