Skip to content

Commit

Permalink
- Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ciroque committed Nov 7, 2023
1 parent 3b4913b commit 5b45a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/certification/certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ func (c *Certificates) handleDeleteEvent(obj interface{}) {
logrus.Debugf("Certificates::handleDeleteEvent: certificates (%d)", len(c.Certificates))
}

func (c *Certificates) handleUpdateEvent(obj interface{}, obj2 interface{}) {
func (c *Certificates) handleUpdateEvent(oldValue interface{}, newValue interface{}) {
logrus.Debug("Certificates::handleUpdateEvent")

secret, ok := obj.(*corev1.Secret)
secret, ok := newValue.(*corev1.Secret)
if !ok {
logrus.Errorf("Certificates::handleUpdateEvent: unable to cast object to Secret")
return
Expand Down

0 comments on commit 5b45a7a

Please sign in to comment.