From f86bf3e9cf5f52af87b190f77ac96e1ac505330c Mon Sep 17 00:00:00 2001 From: Mohammed Diaa Date: Mon, 6 Nov 2023 12:41:30 +0200 Subject: [PATCH] Allow downloading completed children of stopped subjobs --- cmd/output/output.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/output/output.go b/cmd/output/output.go index d088968..ee5320f 100644 --- a/cmd/output/output.go +++ b/cmd/output/output.go @@ -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()