Skip to content

Commit

Permalink
task: use return value of flb_sched_request_create (#1996)
Browse files Browse the repository at this point in the history
Signed-off-by: Zero King <[email protected]>
  • Loading branch information
l2dy authored and edsiper committed Feb 28, 2020
1 parent 0e8a048 commit 8d1ae9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/flb_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ int flb_task_retry_reschedule(struct flb_task_retry *retry, struct flb_config *c

task = retry->parent;
seconds = flb_sched_request_create(config, retry, retry->attemps);
seconds = -1;
if (seconds == -1) {
/*
* This is the worse case scenario: 'cannot re-schedule a retry'. If the Chunk
Expand Down

0 comments on commit 8d1ae9f

Please sign in to comment.