We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4264bb9 commit 69a81e9Copy full SHA for 69a81e9
controllers/metricstorage_controller.go
@@ -578,7 +578,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
578
return ctrl.Result{}, err
579
}
580
instance.Status.NetworkAttachments = networkAnnotations
581
- } else if len(instance.Spec.NetworkAttachments) == 0 {
+ } else if len(instance.Status.NetworkAttachments) != 0 {
582
// Delete the prometheus CR, so it can be automatically restored without the NAD patch
583
prometheus := monv1.Prometheus{
584
ObjectMeta: metav1.ObjectMeta{
0 commit comments