Skip to content

Commit aa11008

Browse files
kvapsclaude
andcommitted
chore(controller): drop diagnostic RD reconcile log
The 'RD reconcile' counter was only added to debug the ListByDefinition label-vs-spec issue; that's fixed and the log line just clutters the controller stream now. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
1 parent 99ce61d commit aa11008

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

internal/controller/resourcedefinition_controller.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ func (r *ResourceDefinitionReconciler) Reconcile(ctx context.Context, req ctrl.R
8080
return ctrl.Result{}, nil
8181
}
8282

83-
replicas, listErr := r.Store.Resources().ListByDefinition(ctx, rd.Name)
84-
if listErr != nil {
85-
log.Error(listErr, "list replicas during RD reconcile", "rd", rd.Name)
86-
} else {
87-
diskful, diskless := splitByDiskless(replicas)
88-
log.Info("RD reconcile",
89-
"rd", rd.Name,
90-
"diskful", len(diskful),
91-
"diskless", len(diskless))
92-
}
93-
9483
err = r.ensureTiebreaker(ctx, &rd)
9584
if err != nil {
9685
log.Error(err, "ensure tiebreaker", "rd", rd.Name)

0 commit comments

Comments
 (0)