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.
1 parent b1123d2 commit cc852ecCopy full SHA for cc852ec
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