forked from JointCloud/pcm-coordinator
add hpc appName
Signed-off-by: jagger <cossjie@foxmail.com>
This commit is contained in:
parent
c2c2113f5d
commit
6f89b7f0c9
|
@ -1361,6 +1361,7 @@ type (
|
|||
Remark string `json:"remark" db:"remark"`
|
||||
InferUrl string `json:"inferUrl"`
|
||||
WorkDir string `json:"workDir"`
|
||||
AppName string `json:"appName"`
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -116,6 +116,7 @@ func (l *CommitHpcTaskLogic) CommitHpcTask(req *types.CommitHpcTaskReq) (resp *t
|
|||
ClusterName: clusterInfo.Name,
|
||||
NoticeType: "create",
|
||||
TaskName: req.Name,
|
||||
TaskId: taskModel.Id,
|
||||
Incident: "任务创建中",
|
||||
CreatedTime: time.Now(),
|
||||
}
|
||||
|
|
|
@ -5339,6 +5339,7 @@ type SubTaskInfo struct {
|
|||
Remark string `json:"remark" db:"remark"`
|
||||
InferUrl string `json:"inferUrl"`
|
||||
WorkDir string `json:"workDir"`
|
||||
AppName string `json:"appName"`
|
||||
}
|
||||
|
||||
type SubmitLinkTaskReq struct {
|
||||
|
|
Loading…
Reference in New Issue