Browse Source

天河代码修改脚本字段

Former-commit-id: 38c42d8fac
pull/9/head
张威 3 years ago
parent
commit
3d86e32e5a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go

+ 1
- 1
adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go View File

@@ -63,7 +63,7 @@ func submitJob(infoList *pcmcoreclient.InfoListResp, submitJobLogic *SubmitJobLo
submitReq := hpcTH.SubmitJobReq{
Account: "root",
Name: infoList.HpcInfoList[index].Name,
Script: "#! /bin/bash\\n hostname \\n env | grep SLURM",
Script: infoList.HpcInfoList[index].CmdScript,
UserId: 123,
}
jobResult, _ := submitJobLogic.SubmitJob(&submitReq)


Loading…
Cancel
Save