Skip to content

Commit

Permalink
kubernetes: remove logging of changed object with cast
Browse files Browse the repository at this point in the history
  • Loading branch information
hensur authored May 10, 2021
1 parent 32e08f3 commit de2437c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/provider/kubernetes/k8s/event_handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package k8s

import (
"github.com/traefik/traefik/v2/pkg/log"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down Expand Up @@ -54,7 +53,6 @@ func objChanged(oldObj, newObj interface{}) bool {
}
}

log.WithoutContext().Debugf("endpoint %s has no changes, ignoring", newObj.(*corev1.Endpoints).Name)
return false
}

Expand Down

0 comments on commit de2437c

Please sign in to comment.