@@ -131,13 +131,13 @@ type nfdWorker struct {
131
131
kubernetesNamespace string
132
132
grpcClient pb.LabelerClient
133
133
healthServer * grpc.Server
134
- k8sClient k8sclient.Interface
134
+ k8sClient k8sclient.Interface
135
135
nfdClient * nfdclient.Clientset
136
136
stop chan struct {} // channel for signaling stop
137
137
featureSources []source.FeatureSource
138
138
numberOfFeatureSourceErrors int
139
139
labelSources []source.LabelSource
140
- ownerReference []metav1.OwnerReference
140
+ ownerReference []metav1.OwnerReference
141
141
}
142
142
143
143
// This ticker can represent infinite and normal intervals.
@@ -807,9 +807,9 @@ func (m *nfdWorker) updateNodeFeatureObject(labels Labels) error {
807
807
}
808
808
809
809
nfr .Status = nfdv1alpha1.NodeFeatureStatus {
810
- LastAppliedAt : metav1.Time {Time : time .Now ().UTC ()},
811
- NumberOfFeatures : len (m .featureSources ),
812
- NumberOfLabels : len (m .labelSources ),
810
+ LastAppliedAt : metav1.Time {Time : time .Now ().UTC ()},
811
+ NumberOfFeatures : len (m .featureSources ),
812
+ NumberOfLabels : len (m .labelSources ),
813
813
}
814
814
815
815
klog .InfoS ("creating NodeFeature object" , "nodefeature" , klog .KObj (nfr ))
@@ -832,9 +832,9 @@ func (m *nfdWorker) updateNodeFeatureObject(labels Labels) error {
832
832
Labels : labels ,
833
833
}
834
834
nfrUpdated .Status = nfdv1alpha1.NodeFeatureStatus {
835
- LastAppliedAt : metav1.Time {Time : time .Now ().UTC ()},
836
- NumberOfFeatures : len (m .featureSources ),
837
- NumberOfLabels : len (m .labelSources ),
835
+ LastAppliedAt : metav1.Time {Time : time .Now ().UTC ()},
836
+ NumberOfFeatures : len (m .featureSources ),
837
+ NumberOfLabels : len (m .labelSources ),
838
838
}
839
839
if ! apiequality .Semantic .DeepEqual (nfr , nfrUpdated ) {
840
840
klog .InfoS ("updating NodeFeature object" , "nodefeature" , klog .KObj (nfr ))
0 commit comments