1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

744 fixing error message

This commit is contained in:
shravan 2020-05-06 01:02:39 +05:30
parent 1b2868620e
commit 2bd484d5b8

View file

@ -75,7 +75,7 @@ func (ctx *Context) AddRequest(request *v1beta1.AdmissionRequest) error {
objRaw, err := json.Marshal(modifiedResource)
if err != nil {
ctx.log.Error(err, "failed to marshal the UserInfo")
ctx.log.Error(err, "failed to marshal the request")
return err
}
return ctx.AddJSON(objRaw)