Skip to content

Commit

Permalink
fix: some wrong or invalid logs (apache#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-6443 authored and tao12345666333 committed Dec 23, 2021
1 parent c51f544 commit 26bdf7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/ingress/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,11 @@ func (c *ingressController) onAdd(obj interface{}) {
valid := c.isIngressEffective(ing)
if valid {
log.Debugw("ingress add event arrived",
zap.Any("object", ing),
zap.Any("object", obj),
)
} else {
log.Debugw("ignore noneffective ingress add event",
zap.Any("object", ing),
zap.Any("object", obj),
)
return
}
Expand Down Expand Up @@ -297,8 +297,8 @@ func (c *ingressController) onUpdate(oldObj, newObj interface{}) {
valid := c.isIngressEffective(curr)
if valid {
log.Debugw("ingress update event arrived",
zap.Any("new object", oldObj),
zap.Any("old object", newObj),
zap.Any("new object", newObj),
zap.Any("old object", oldObj),
)
} else {
log.Debugw("ignore noneffective ingress update event",
Expand Down

0 comments on commit 26bdf7c

Please sign in to comment.