Skip to content

Commit

Permalink
fix: add missing logs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliecharra authored Jun 17, 2024
1 parent a761ed9 commit 90c3e28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/context_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ type ContextReconciler struct {
func (r *ContextReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
logger := log.FromContext(ctx)

logger.Info("Reconciling Context")
context, err := r.ContextRepository.Get(ctx, req.NamespacedName)

// The Context is removed, this should not happen because we filter out deletion events.
Expand Down
1 change: 1 addition & 0 deletions internal/controller/run_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type RunReconciler struct {
func (r *RunReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
logger := log.FromContext(ctx)

logger.Info("Reconciling Run")
run, err := r.RunRepository.Get(ctx, req.NamespacedName)

// The Run is removed, this should not happen because we filter out deletion events.
Expand Down

0 comments on commit 90c3e28

Please sign in to comment.