@@ -51,7 +51,7 @@ func (e EventHandler) OnAdd(obj interface{}) {
51
51
c .Meta = o
52
52
} else {
53
53
log .Error (err , "OnAdd missing Meta" ,
54
- "Object " , obj , "Type " , fmt .Sprintf ("%T" , obj ))
54
+ "object " , obj , "type " , fmt .Sprintf ("%T" , obj ))
55
55
return
56
56
}
57
57
@@ -60,7 +60,7 @@ func (e EventHandler) OnAdd(obj interface{}) {
60
60
c .Object = o
61
61
} else {
62
62
log .Error (nil , "OnAdd missing runtime.Object" ,
63
- "Object " , obj , "Type " , fmt .Sprintf ("%T" , obj ))
63
+ "object " , obj , "type " , fmt .Sprintf ("%T" , obj ))
64
64
return
65
65
}
66
66
@@ -83,7 +83,7 @@ func (e EventHandler) OnUpdate(oldObj, newObj interface{}) {
83
83
u .MetaOld = o
84
84
} else {
85
85
log .Error (err , "OnUpdate missing MetaOld" ,
86
- "Object " , oldObj , "Type " , fmt .Sprintf ("%T" , oldObj ))
86
+ "object " , oldObj , "type " , fmt .Sprintf ("%T" , oldObj ))
87
87
return
88
88
}
89
89
@@ -92,7 +92,7 @@ func (e EventHandler) OnUpdate(oldObj, newObj interface{}) {
92
92
u .ObjectOld = o
93
93
} else {
94
94
log .Error (nil , "OnUpdate missing ObjectOld" ,
95
- "Object " , oldObj , "Type " , fmt .Sprintf ("%T" , oldObj ))
95
+ "object " , oldObj , "type " , fmt .Sprintf ("%T" , oldObj ))
96
96
return
97
97
}
98
98
@@ -101,7 +101,7 @@ func (e EventHandler) OnUpdate(oldObj, newObj interface{}) {
101
101
u .MetaNew = o
102
102
} else {
103
103
log .Error (err , "OnUpdate missing MetaNew" ,
104
- "Object " , newObj , "Type " , fmt .Sprintf ("%T" , newObj ))
104
+ "object " , newObj , "type " , fmt .Sprintf ("%T" , newObj ))
105
105
return
106
106
}
107
107
@@ -110,7 +110,7 @@ func (e EventHandler) OnUpdate(oldObj, newObj interface{}) {
110
110
u .ObjectNew = o
111
111
} else {
112
112
log .Error (nil , "OnUpdate missing ObjectNew" ,
113
- "Object " , oldObj , "Type " , fmt .Sprintf ("%T" , oldObj ))
113
+ "object " , oldObj , "type " , fmt .Sprintf ("%T" , oldObj ))
114
114
return
115
115
}
116
116
@@ -139,8 +139,8 @@ func (e EventHandler) OnDelete(obj interface{}) {
139
139
tombstone , ok := obj .(cache.DeletedFinalStateUnknown )
140
140
if ! ok {
141
141
log .Error (nil , "Error decoding objects. Expected cache.DeletedFinalStateUnknown" ,
142
- "Type " , fmt .Sprintf ("%T" , obj ),
143
- "Object " , obj )
142
+ "type " , fmt .Sprintf ("%T" , obj ),
143
+ "object " , obj )
144
144
return
145
145
}
146
146
@@ -153,7 +153,7 @@ func (e EventHandler) OnDelete(obj interface{}) {
153
153
d .Meta = o
154
154
} else {
155
155
log .Error (err , "OnDelete missing Meta" ,
156
- "Object " , obj , "Type " , fmt .Sprintf ("%T" , obj ))
156
+ "object " , obj , "type " , fmt .Sprintf ("%T" , obj ))
157
157
return
158
158
}
159
159
@@ -162,7 +162,7 @@ func (e EventHandler) OnDelete(obj interface{}) {
162
162
d .Object = o
163
163
} else {
164
164
log .Error (nil , "OnDelete missing runtime.Object" ,
165
- "Object " , obj , "Type " , fmt .Sprintf ("%T" , obj ))
165
+ "object " , obj , "type " , fmt .Sprintf ("%T" , obj ))
166
166
return
167
167
}
168
168
0 commit comments