Namespace fallback for annotation logs
tun0 opened this issue · comments
Ruben Laban commented
Ref:
notification-controller/internal/server/receiver_handlers.go
Lines 96 to 105 in 7448a66
Currently my logs are showing like resource '<Kind>/<Name>.' annotated
. Note the trailing dot after <Name>
. It would be nice to either:
- Make that dot optional when
resource.Namespace
isn't defined. - Fallback to
receiver.Namespace
ifresource.Namespace
isn't defined.