Skip to content

Commit

Permalink
fix: Fix S3 poll period type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Jul 26, 2021
1 parent 3e9334c commit a9f59e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/sidecar/source/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func New(ctx context.Context, kubernetesInterface kubernetes.Interface, namespac
// create leader Goroutine to poll for new files
go func() {
defer runtime.HandleCrash()
ticker := time.NewTicker(x.PollPeriod)
ticker := time.NewTicker(x.PollPeriod.Duration)
defer ticker.Stop()
for {
select {
Expand Down

0 comments on commit a9f59e6

Please sign in to comment.