Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have the wait-task leverage NewRequeueAfter #780

Merged
merged 1 commit into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion wait-task/cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func newController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
AgentName: controllerName,
}
})
c.EnqueueAfter = impl.EnqueueAfter

runinformer.Get(ctx).Informer().AddEventHandler(cache.FilteringResourceEventHandler{
FilterFunc: tkncontroller.FilterRunRef("example.dev/v0", "Wait"),
Expand Down
6 changes: 3 additions & 3 deletions wait-task/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.15

require (
github.com/tektoncd/pipeline v0.20.1
k8s.io/api v0.20.2
k8s.io/apimachinery v0.20.2
k8s.io/api v0.20.7
k8s.io/apimachinery v0.20.7
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
knative.dev/pkg v0.0.0-20210119162123-1bbf0a6436c3
knative.dev/pkg v0.0.0-20210805073852-23b014724657
)

replace k8s.io/client-go => k8s.io/client-go v0.20.2
Loading