This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
JointCloud
/
pcm-coordinator
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix hpc slurm status
Signed-off-by: jagger <cossjie@foxmail.com>
pull/465/head
jagger
7 months ago
parent
888833d5bd
commit
c2c2113f5d
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
internal/scheduler/service/hpc/slurm.go
+ 2
- 0
internal/scheduler/service/hpc/slurm.go
View File
@@ -69,6 +69,8 @@ func (c *ParticipantHpc) GetTask(ctx context.Context, taskId string) (*collector
resp.Status = constants.Pending
case "WAITING":
resp.Status = constants.Waiting
case "CANCELLED":
resp.Status = constants.Cancelled
default:
resp.Status = "undefined"
}
Write
Preview
Loading…
Cancel
Save