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:
parent
1b2868620e
commit
2bd484d5b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue