Skip to content

Commit

Permalink
Merge pull request #95 from trickest/fix/download-stopped-subjob-output
Browse files Browse the repository at this point in the history
Allow downloading completed children of stopped subjobs
  • Loading branch information
mhmdiaa authored Nov 6, 2023
2 parents 2798838 + f86bf3e commit 0e96fce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ func DownloadRunOutput(run *types.Run, nodes map[string]NodeInfo, files []string

func getSubJobOutput(savePath string, subJob *types.SubJob, files []string, fetchData bool) []types.SubJobOutput {
if subJob.Status != "SUCCEEDED" {
return nil
if subJob.TaskGroup && subJob.Status != "STOPPED" {
return nil
}
}

urlReq := "subjob-output/?subjob=" + subJob.ID.String()
Expand Down

0 comments on commit 0e96fce

Please sign in to comment.