@@ -101,7 +101,8 @@ func TestReconcile_when_cluster_ready(t *testing.T) {
101
101
})
102
102
readyNode := makeNode (map [string ]string {
103
103
"node-role.kubernetes.io/control-plane" : "" ,
104
- }, corev1.NodeCondition {Type : "Ready" , Status : "True" , LastHeartbeatTime : metav1 .Now (), LastTransitionTime : metav1 .Now (), Reason : "KubeletReady" , Message : "kubelet is posting ready status" })
104
+ }, corev1.NodeCondition {
105
+ Type : "Ready" , Status : "True" , LastHeartbeatTime : metav1 .Now (), LastTransitionTime : metav1 .Now (), Reason : "KubeletReady" , Message : "kubelet is posting ready status" })
105
106
106
107
cl := makeTestCluster (func (c * clusterv1.Cluster ) {
107
108
c .ObjectMeta .Labels = bc .Spec .ClusterSelector .MatchLabels
@@ -209,7 +210,9 @@ func TestReconcile_when_cluster_ready_and_old_label(t *testing.T) {
209
210
})
210
211
readyNode := makeNode (map [string ]string {
211
212
"node-role.kubernetes.io/master" : "" ,
212
- }, corev1.NodeCondition {Type : "Ready" , Status : "True" , LastHeartbeatTime : metav1 .Now (), LastTransitionTime : metav1 .Now (), Reason : "KubeletReady" , Message : "kubelet is posting ready status" })
213
+ }, corev1.NodeCondition {Type : "Ready" , Status : "True" , LastHeartbeatTime : metav1 .Now (),
214
+ LastTransitionTime : metav1 .Now (), Reason : "KubeletReady" ,
215
+ Message : "kubelet is posting ready status" })
213
216
214
217
cl := makeTestCluster (func (c * clusterv1.Cluster ) {
215
218
c .ObjectMeta .Labels = bc .Spec .ClusterSelector .MatchLabels
0 commit comments