fix error message

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
This commit is contained in:
iosmanthus 2023-12-13 22:02:04 +08:00
parent 43128c2847
commit 8f44eed8b8
No known key found for this signature in database
GPG key ID: DEE5BAABFE092169

View file

@ -262,7 +262,7 @@ func recurseSecretKey(format FormatType, keys map[string]interface{}, wantedKey
strVal, err := marshaller(val)
if err != nil {
return "", fmt.Errorf("Cannot the value of key '%s': %w", keyUntilNow, err)
return "", fmt.Errorf("Cannot marshal the value of key '%s': %w", keyUntilNow, err)
}
return string(strVal), nil