Skip to content

Commit

Permalink
fixup! refactor(scheduler): Add statusThreshold parameter to job.Run
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaffney committed Oct 24, 2024
1 parent 3e20a71 commit 0448bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/host/plugin/repository_host_catalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ func (j *testSyncJob) Status() scheduler.JobStatus {
}
}

func (j *testSyncJob) Run(ctx context.Context, statusThreshold time.Duration) error { return nil }
func (j *testSyncJob) Run(_ context.Context, _ time.Duration) error { return nil }
func (j *testSyncJob) NextRunIn(_ context.Context) (time.Duration, error) {
return setSyncJobRunInterval, nil
}
Expand Down

0 comments on commit 0448bbf

Please sign in to comment.