@@ -521,24 +521,24 @@ func (r *MachineReconciler) computeMachineConditions(
521521) []computev1alpha1.MachineCondition {
522522 var conditions []computev1alpha1.MachineCondition
523523
524- conditions = append (conditions , r .ComputeMachineReadyCondition (state , now ))
524+ conditions = append (conditions , r .computeMachineReadyCondition (state , now ))
525525
526526 if len (volumeStatuses ) > 0 {
527- if c := r .ComputeVolumesReadyCondition (volumeStatuses , now ); c .Type != "" {
527+ if c := r .computeVolumesReadyCondition (volumeStatuses , now ); c .Type != "" {
528528 conditions = append (conditions , c )
529529 }
530530 }
531531
532532 if len (nicStatuses ) > 0 {
533- if c := r .ComputeNetworkInterfacesReadyCondition (nicStatuses , now ); c .Type != "" {
533+ if c := r .computeNetworkInterfacesReadyCondition (nicStatuses , now ); c .Type != "" {
534534 conditions = append (conditions , c )
535535 }
536536 }
537537
538538 return conditions
539539}
540540
541- func (r * MachineReconciler ) ComputeMachineReadyCondition (state computev1alpha1.MachineState , now metav1.Time ) computev1alpha1.MachineCondition {
541+ func (r * MachineReconciler ) computeMachineReadyCondition (state computev1alpha1.MachineState , now metav1.Time ) computev1alpha1.MachineCondition {
542542 status , reason , message := corev1 .ConditionFalse , "NotReady" , "Machine is not ready"
543543
544544 switch state {
@@ -559,7 +559,7 @@ func (r *MachineReconciler) ComputeMachineReadyCondition(state computev1alpha1.M
559559 }
560560}
561561
562- func (r * MachineReconciler ) ComputeVolumesReadyCondition (volumeStatuses []computev1alpha1.VolumeStatus , now metav1.Time ) computev1alpha1.MachineCondition {
562+ func (r * MachineReconciler ) computeVolumesReadyCondition (volumeStatuses []computev1alpha1.VolumeStatus , now metav1.Time ) computev1alpha1.MachineCondition {
563563 if len (volumeStatuses ) == 0 {
564564 return computev1alpha1.MachineCondition {}
565565 }
@@ -584,7 +584,7 @@ func (r *MachineReconciler) ComputeVolumesReadyCondition(volumeStatuses []comput
584584 }
585585}
586586
587- func (r * MachineReconciler ) ComputeNetworkInterfacesReadyCondition (nicStatuses []computev1alpha1.NetworkInterfaceStatus , now metav1.Time ) computev1alpha1.MachineCondition {
587+ func (r * MachineReconciler ) computeNetworkInterfacesReadyCondition (nicStatuses []computev1alpha1.NetworkInterfaceStatus , now metav1.Time ) computev1alpha1.MachineCondition {
588588 if len (nicStatuses ) == 0 {
589589 return computev1alpha1.MachineCondition {}
590590 }
0 commit comments