From c183eb1dd8b398d219af2620e936117166255f64 Mon Sep 17 00:00:00 2001 From: Florian Bacher Date: Mon, 28 Aug 2023 15:36:53 +0200 Subject: [PATCH] chore: remove debug log containing secret Signed-off-by: Florian Bacher --- .../controllers/common/providers/dynatrace/client/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-operator/controllers/common/providers/dynatrace/client/common.go b/metrics-operator/controllers/common/providers/dynatrace/client/common.go index ece37b4c3d..c63890ae8d 100644 --- a/metrics-operator/controllers/common/providers/dynatrace/client/common.go +++ b/metrics-operator/controllers/common/providers/dynatrace/client/common.go @@ -35,7 +35,7 @@ func validateOAuthSecret(token string) error { } secret := split[2] if secretLen := len(secret); secretLen != 64 { - return fmt.Errorf("length of secret '%s' is %d, which is not equal to 64: %w", secret, secretLen, ErrClientSecretInvalid) + return fmt.Errorf("length of secret is %d, which is not equal to 64: %w", secretLen, ErrClientSecretInvalid) } return nil }