Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ func RunWorker() (exitCode ExitCode) {
remainingTaskCountText = fmt.Sprintf(" (will exit after resolving %v more)", remainingTasks)
}
log.Printf("Resolved %v tasks in total so far%v.", tasksResolved, remainingTaskCountText)
if remainingTasks == 0 {
if remainingTasks <= 0 {
log.Printf("Completed all task(s) (number of tasks to run = %v)", config.NumberOfTasksToRun)
if deploymentIDUpdated() {
return NONCURRENT_DEPLOYMENT_ID
Expand Down