From 12ce0535e073ee2dc5dd5b807e2971430ee2cc82 Mon Sep 17 00:00:00 2001 From: QuantumEnigmaa Date: Wed, 22 May 2024 17:18:46 +0200 Subject: [PATCH] remove leftovers debug code --- pkg/monitoring/mimir/service.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/monitoring/mimir/service.go b/pkg/monitoring/mimir/service.go index 5c00e6a4..74712cb3 100644 --- a/pkg/monitoring/mimir/service.go +++ b/pkg/monitoring/mimir/service.go @@ -2,7 +2,6 @@ package mimir import ( "context" - "fmt" "github.com/go-logr/logr" "github.com/pkg/errors" @@ -140,13 +139,11 @@ func (ms *MimirService) DeleteIngressSecret(ctx context.Context) error { } current := &corev1.Secret{} // Get the current secret if it exists. - fmt.Println("GETTING SECRET") err := ms.Client.Get(ctx, objectKey, current) if apierrors.IsNotFound(err) { // Ignore cases where the secret is not found (if it was manually deleted, for instance). return nil } else if err != nil { - fmt.Println("ERROR FINDING SECRET") return errors.WithStack(err) } @@ -160,7 +157,6 @@ func (ms *MimirService) DeleteIngressSecret(ctx context.Context) error { err = ms.Client.Delete(ctx, desired) if err != nil { - fmt.Println("ERROR DELETING SECRET") return errors.WithStack(err) }