Skip to content

Commit

Permalink
Fixing worked enabled condition
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Sep 15, 2023
1 parent 24adb72 commit 4f91221
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion server/executor/tracepollerworker/fetcher_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func (w *traceFetcherWorker) SetOutputQueue(queue pipeline.Enqueuer[executor.Job

func (w *traceFetcherWorker) ProcessItem(ctx context.Context, job executor.Job) {
if !w.enabled {
w.outputQueue.Enqueue(ctx, job)
return
}

Expand Down
1 change: 0 additions & 1 deletion server/executor/trigger_executer_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func (r triggerExecuterWorker) handleError(run test.Run, err error) {

func (r triggerExecuterWorker) ProcessItem(ctx context.Context, job Job) {
if !r.enabled {
r.outputQueue.Enqueue(ctx, job)
return
}

Expand Down

0 comments on commit 4f91221

Please sign in to comment.