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> |
||
|---|---|---|
| .. | ||
| controller.go | ||
| defaulting.go | ||
| defaulting_test.go | ||
| table_test.go | ||
| user_info.go | ||
| user_info_test.go | ||