Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgeorgousis committed Dec 9, 2024
1 parent 57dd7c3 commit ee146de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/pipelines/provider_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (r *ProviderReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
return ctrl.Result{}, client.IgnoreNotFound(err)
}

logger.V(3).Info("found provider", "resource", provider)
logger.V(2).Info("found provider", "resource", provider)

providerServiceName := fmt.Sprintf("provider-%s-service", req.Name)
providerServiceDeployment, err := r.fetchProviderServiceDeployment(ctx, providerServiceName, req.Namespace)
Expand All @@ -64,7 +64,7 @@ func (r *ProviderReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
}
logger.Info("created provider service deployment", "resource", providerServiceDeployment)
} else {
logger.Info("found provider service deployment", "resource", providerServiceDeployment)
logger.V(2).Info("found provider service deployment", "resource", providerServiceDeployment)
}

duration := time.Now().Sub(startTime)
Expand Down

0 comments on commit ee146de

Please sign in to comment.