@@ -216,7 +216,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
216216 condition .SeverityError ,
217217 telemetryv1 .MonitoringStackUnableToOwnMessage , err )
218218 Log .Info ("Can't own MonitoringStack resource" )
219- return ctrl.Result {RequeueAfter : metricstorage .PauseBetweenWatchAttempts }, nil
219+ return ctrl.Result {RequeueAfter : telemetryv1 .PauseBetweenWatchAttempts }, nil
220220 }
221221
222222 monitoringStack := & obov1.MonitoringStack {
@@ -274,7 +274,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
274274 condition .SeverityError ,
275275 telemetryv1 .ServiceMonitorUnableToOwnMessage , err )
276276 Log .Info ("Can't own ServiceMonitor resource" )
277- return ctrl.Result {RequeueAfter : metricstorage .PauseBetweenWatchAttempts }, nil
277+ return ctrl.Result {RequeueAfter : telemetryv1 .PauseBetweenWatchAttempts }, nil
278278 }
279279 ceilometerMonitor := & monv1.ServiceMonitor {
280280 ObjectMeta : metav1.ObjectMeta {
@@ -332,7 +332,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
332332 condition .SeverityError ,
333333 telemetryv1 .NodeSetUnableToWatchMessage , err )
334334 Log .Info ("Can't watch OpenStackDataPlaneNodeSet resource" )
335- return ctrl.Result {RequeueAfter : metricstorage .PauseBetweenWatchAttempts }, nil
335+ return ctrl.Result {RequeueAfter : telemetryv1 .PauseBetweenWatchAttempts }, nil
336336 }
337337 instance .Status .Conditions .MarkTrue (telemetryv1 .NodeSetReadyCondition , condition .ReadyMessage )
338338
@@ -354,7 +354,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
354354 condition .SeverityError ,
355355 telemetryv1 .ScrapeConfigUnableToOwnMessage , err )
356356 Log .Info ("Can't own ScrapeConfig resource" )
357- return ctrl.Result {RequeueAfter : metricstorage .PauseBetweenWatchAttempts }, nil
357+ return ctrl.Result {RequeueAfter : telemetryv1 .PauseBetweenWatchAttempts }, nil
358358 }
359359 op , err = controllerutil .CreateOrPatch (ctx , r .Client , scrapeConfig , func () error {
360360 endpoints , err := getNodeExporterTargets (instance , helper )
@@ -463,7 +463,7 @@ func getNodeExporterTargets(
463463 // we were unable to find an IP or HostName for a node, so we do not go further
464464 return addresses , nil
465465 }
466- addresses = append (addresses , fmt .Sprintf ("%s:%d" , address , metricstorage .DefaultNodeExporterPort ))
466+ addresses = append (addresses , fmt .Sprintf ("%s:%d" , address , telemetryv1 .DefaultNodeExporterPort ))
467467 }
468468 }
469469 return addresses , nil
0 commit comments