Skip to content

Commit ff7cfc1

Browse files
committed
feat: Remove deprecated object metrics from controllers fluxcd/flux2#5083
Signed-off-by: hasithsen <[email protected]>
1 parent 31ba93b commit ff7cfc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controller/imagepolicy_controller.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ func (r *ImagePolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request)
174174
retErr = kerrors.NewAggregate([]error{retErr, err})
175175
}
176176

177-
// Always record readiness and duration metrics.
178-
r.Metrics.RecordReadiness(ctx, obj)
177+
// Always record duration metrics.
179178
r.Metrics.RecordDuration(ctx, obj, start)
180179
}()
181180

0 commit comments

Comments
 (0)