From f8f6f1b0068e02fb900897060dcd9b991f3a93af Mon Sep 17 00:00:00 2001 From: iosmanthus Date: Thu, 6 Jun 2024 17:37:54 +0800 Subject: [PATCH] test Signed-off-by: iosmanthus --- pkgs/sops-install-secrets/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/sops-install-secrets/main.go b/pkgs/sops-install-secrets/main.go index bd6f4a0..f096250 100644 --- a/pkgs/sops-install-secrets/main.go +++ b/pkgs/sops-install-secrets/main.go @@ -276,8 +276,6 @@ func recurseSecretKey(format FormatType, keys map[string]interface{}, wantedKey if err != nil { return "", fmt.Errorf("cannot marshal the value of key '%s': %w", keyUntilNow, err) } - strVal = bytes.Trim(strVal, "\"") - fmt.Println(string(strVal)) return string(strVal), nil default: return "", fmt.Errorf("nested secrets are not supported for %s", format)