We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1123d2 + cc852ec commit 756e222Copy full SHA for 756e222
pkg/types/namespacedname.go
@@ -41,7 +41,8 @@ func (n NamespacedName) String() string {
41
// MarshalLog emits a struct containing required key/value pair
42
func (n NamespacedName) MarshalLog() interface{} {
43
return struct {
44
- Name, Namespace string
+ Name string `json:"name"`
45
+ Namespace string `json:"namespace,omitempty"`
46
}{
47
Name: n.Name,
48
Namespace: n.Namespace,
0 commit comments