Skip to content

Commit

Permalink
Allow downloading completed children of stopped subjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdiaa committed Nov 6, 2023
1 parent 2798838 commit f86bf3e
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 f86bf3e

Please sign in to comment.