Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
This commit is contained in:
iosmanthus 2024-06-06 17:37:54 +08:00
parent 37d6c28bef
commit f8f6f1b006
No known key found for this signature in database
GPG key ID: DEE5BAABFE092169

View file

@ -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)