Skip to content

Commit

Permalink
fix: ptah-sh/ptah-server#239 better tracking of failed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Oct 20, 2024
1 parent f46c13e commit 2392c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/ptah-agent/service_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (e *taskExecutor) monitorDaemonServiceLaunch(ctx context.Context, service *
return nil
}

if len(tasks) == lastTasks {
if lastFailedTasks > 0 && len(tasks) == lastTasks {
continue
}

Expand Down

0 comments on commit 2392c75

Please sign in to comment.