From b398fbe8b30faab19c07f3905a140a86091f455e Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Mon, 29 Jan 2024 13:56:44 -0600 Subject: [PATCH] comment out debug noise --- internal/controller/lustrefilesystem_controller.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/controller/lustrefilesystem_controller.go b/internal/controller/lustrefilesystem_controller.go index fb4ecc1..a2747a3 100644 --- a/internal/controller/lustrefilesystem_controller.go +++ b/internal/controller/lustrefilesystem_controller.go @@ -137,7 +137,7 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // Iterate over the access modes in the specification. For each namespace in that mode // create a PV/PVC which can be used by pods in the same namespace. for namespace := range fs.Spec.Namespaces { - log.FromContext(ctx).Info("Reconcile Spec Namespace", "namespace", namespace) + // log.FromContext(ctx).Info("Reconcile Spec Namespace", "namespace", namespace) namespacePresent := true // If the namespace doesn't exist, set a flag so that we can appropriately set the status in the mode loop @@ -153,7 +153,7 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // For each mode in the namespace for _, mode := range fs.Spec.Namespaces[namespace].Modes { - log.FromContext(ctx).Info("Processing Spec Namespace Mode", "mode", mode) + // log.FromContext(ctx).Info("Processing Spec Namespace Mode", "mode", mode) // Create the Status Namespace Mode map if empty if fs.Status.Namespaces[namespace].Modes == nil { @@ -200,10 +200,10 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // Remove any resources that are not in the spec for namespace := range fs.Status.Namespaces { - log.FromContext(ctx).Info("Reconcile Status Namespace", "namespace", namespace) + // log.FromContext(ctx).Info("Reconcile Status Namespace", "namespace", namespace) for mode := range fs.Status.Namespaces[namespace].Modes { - log.FromContext(ctx).Info("Processing Status Namespace Mode", "mode", mode) + // log.FromContext(ctx).Info("Processing Status Namespace Mode", "mode", mode) // Check if the provided namespace and mode are present in the specification isPresentInSpec := func(namespace string, mode corev1.PersistentVolumeAccessMode) bool {