Skip to content

Commit

Permalink
fix: ApisixRouteEvent type assertion (#925)
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
  • Loading branch information
tao12345666333 committed Mar 18, 2022
1 parent c9e0c96 commit 2178857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ingress/apisix_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func (c *apisixRouteController) handleSyncErr(obj interface{}, errOrigin error)
if k8serrors.IsNotFound(errOrigin) && ev.Type != types.EventDelete {
log.Infow("sync ApisixRoute but not found, ignore",
zap.String("event_type", ev.Type.String()),
zap.String("ApisixRoute", ev.Object.(string)),
zap.String("ApisixRoute", event.Key),
)
c.workqueue.Forget(event)
return
Expand Down

0 comments on commit 2178857

Please sign in to comment.