From 75baefd7b45de3dbe3e8ba0fc473ee25351a31e7 Mon Sep 17 00:00:00 2001 From: Florian Bacher Date: Mon, 28 Aug 2023 16:08:41 +0200 Subject: [PATCH] chore: remove debug log containing secret (#1967) 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 }