Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

fix: fix infinite phase detection #86

Merged
merged 1 commit into from
Oct 16, 2020
Merged
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 pkg/controller/phase.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (phase *Phase) Run(ctx context.Context, params Params, wd string) error {
allFinished := true
noRunning := true
queuedTasks := []string{}
for _, task := range phase.Tasks.GetAll() {
for _, task := range p.Tasks.GetAll() {
if !task.Result.IsFinished() {
allFinished = false
if task.Result.Status == constant.Running {
Expand Down