Skip to content

Commit

Permalink
Merge pull request #1287 from TarasLykhenko/patch-1
Browse files Browse the repository at this point in the history
Fix Incorrect Metric Reporting Post-Update in Terraform Controller
  • Loading branch information
yitsushi authored May 4, 2024
2 parents 47c6715 + 04aea07 commit 42a3a67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/tf_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func (r *TerraformReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
}

// Record Prometheus metrics.
r.Metrics.RecordReadiness(ctx, &terraform)
r.Metrics.RecordSuspend(ctx, &terraform, terraform.Spec.Suspend)
r.Metrics.RecordDuration(ctx, &terraform, reconcileStart)
}()
Expand Down

0 comments on commit 42a3a67

Please sign in to comment.