diff --git a/pkg/engine/context/context.go b/pkg/engine/context/context.go index eba01a1538..bfa48b9670 100644 --- a/pkg/engine/context/context.go +++ b/pkg/engine/context/context.go @@ -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)