mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: error log (#6429)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
4968e79175
commit
b4d62e9a3b
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ func replaceSubstituteVariables(document interface{}) interface{} {
|
|||
var output interface{}
|
||||
err = json.Unmarshal(rawDocument, &output)
|
||||
if err != nil {
|
||||
logging.Error(err, "failed to unmarshall JSON: %s", string(rawDocument))
|
||||
logging.Error(err, "failed to unmarshall JSON", "document", string(rawDocument))
|
||||
return document
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue