File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ func (c *Certificates) handleDeleteEvent(obj interface{}) {
176
176
logrus .Debugf ("Certificates::handleDeleteEvent: certificates (%d)" , len (c .Certificates ))
177
177
}
178
178
179
- func (c * Certificates ) handleUpdateEvent (oldValue interface {}, newValue interface {}) {
179
+ func (c * Certificates ) handleUpdateEvent (_ interface {}, newValue interface {}) {
180
180
logrus .Debug ("Certificates::handleUpdateEvent" )
181
181
182
182
secret , ok := newValue .(* corev1.Secret )
Original file line number Diff line number Diff line change @@ -266,10 +266,10 @@ func (s *Settings) handleDeleteEvent(obj interface{}) {
266
266
}
267
267
}
268
268
269
- func (s * Settings ) handleUpdateEvent (_ interface {}, obj interface {}) {
269
+ func (s * Settings ) handleUpdateEvent (_ interface {}, newValue interface {}) {
270
270
logrus .Debug ("Settings::handleUpdateEvent" )
271
271
272
- configMap , yes := isOurConfig (obj )
272
+ configMap , yes := isOurConfig (newValue )
273
273
if ! yes {
274
274
return
275
275
}
You can’t perform that action at this time.
0 commit comments