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

Commit

Permalink
Merge pull request #86 from suzuki-shunsuke/fix/fix-infinite-phase-de…
Browse files Browse the repository at this point in the history
…tection

fix: fix infinite phase detection
  • Loading branch information
suzuki-shunsuke authored Oct 16, 2020
2 parents 8741279 + 9d01f85 commit 401aee8
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 401aee8

Please sign in to comment.