Skip to content

Commit

Permalink
more debug cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevcich committed Jan 29, 2024
1 parent b398fbe commit de2b289
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/controller/lustrefilesystem_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,8 @@ type LustreFileSystemReconciler struct {
// For more details, check Reconcile and its Result here:
// - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile
func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error) {
log.FromContext(ctx).Info("Reconciler Start")

fs := &lusv1beta1.LustreFileSystem{}
if err := r.Get(ctx, req.NamespacedName, fs); err != nil {
log.FromContext(ctx).Info("NOT FOUND")
return ctrl.Result{}, client.IgnoreNotFound(err)
}

Expand Down Expand Up @@ -169,7 +166,6 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req

// If the namespace is not present or is not active, continue on and the status will be marked as Pending
if !namespacePresent || ns.Status.Phase != corev1.NamespaceActive {
log.FromContext(ctx).Info("Namespace does not exist or is not active, skipping...", "namespace", namespace)
continue
}

Expand Down

0 comments on commit de2b289

Please sign in to comment.