Skip to content

Commit

Permalink
Merge branch 'apache:master' into httproute/master
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinsRan authored Sep 6, 2022
2 parents ac48017 + 866d40f commit 392d654
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/providers/apisix/apisix_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (c *apisixConsumerController) handleSyncErr(obj interface{}, err error) {
if k8serrors.IsNotFound(err) && event.Type != types.EventDelete {
log.Infow("sync ApisixConsumer but not found, ignore",
zap.String("event_type", event.Type.String()),
zap.String("ApisixConsumer", event.Object.(string)),
zap.Any("ApisixConsumer", event.Object.(kube.ApisixConsumerEvent)),
)
c.workqueue.Forget(event)
return
Expand Down
6 changes: 6 additions & 0 deletions pkg/providers/ingress/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,12 @@ func (c *ingressController) ResourceSync() {
continue
}
ing := kube.MustNewIngress(obj)
if !c.isIngressEffective(ing) {
return
}
log.Debugw("ingress add event arrived",
zap.Any("object", obj),
)
c.workqueue.Add(&types.Event{
Type: types.EventAdd,
Object: kube.IngressEvent{
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/gavv/httpexpect/v2 v2.3.1
github.com/gorilla/websocket v1.5.0
github.com/gruntwork-io/terratest v0.40.20
github.com/onsi/ginkgo/v2 v2.1.4
github.com/onsi/ginkgo/v2 v2.1.6
github.com/stretchr/testify v1.8.0
k8s.io/api v0.24.4
k8s.io/apimachinery v0.24.4
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -381,13 +381,13 @@ github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108
github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY=
github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc=
github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0=
github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY=
github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU=
github.com/onsi/ginkgo/v2 v2.1.6 h1:Fx2POJZfKRQcM1pH49qSZiYeu319wji004qX+GDovrU=
github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk=
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
github.com/onsi/gomega v1.20.1 h1:PA/3qinGoukvymdIDV8pii6tiZgC8kbmJO6Z5+b002Q=
github.com/pelletier/go-toml/v2 v2.0.2 h1:+jQXlF3scKIcSEKkdHzXhCTDLPFi5r1wnK6yPS+49Gw=
github.com/pelletier/go-toml/v2 v2.0.2/go.mod h1:MovirKjgVRESsAvNZlAjtFwV867yGuwRkXbG66OzopI=
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
Expand Down

0 comments on commit 392d654

Please sign in to comment.