mirror of https://github.com/knative/pkg.git
When the admission request is for a resource with an empty string as group, which happens on core resources, the `creator` or `lastModifier` annotations are invalid since they become `/creator` or `/lastModifier`. This patch removes the `/` when group = `""`. Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> |
||
|---|---|---|
| .. | ||
| conversion | ||
| defaulting | ||
| validation | ||
| interface.go | ||