Skip to content

Commit

Permalink
fix: some wrong or invalid logs (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-6443 authored Dec 20, 2021
1 parent 52b2e2c commit 7b62375
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 7b62375

Please sign in to comment.