Skip to content

Commit

Permalink
feat: Remove deprecated object metrics from controllers fluxcd/flux2#…
Browse files Browse the repository at this point in the history
…5083

Signed-off-by: hasithsen <[email protected]>
  • Loading branch information
hasithsen committed Dec 11, 2024
1 parent 31ba93b commit ff7cfc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/controller/imagepolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ func (r *ImagePolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request)
retErr = kerrors.NewAggregate([]error{retErr, err})
}

// Always record readiness and duration metrics.
r.Metrics.RecordReadiness(ctx, obj)
// Always record duration metrics.
r.Metrics.RecordDuration(ctx, obj, start)
}()

Expand Down

0 comments on commit ff7cfc1

Please sign in to comment.