Browse Source

增加打印信息。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3437/head
zouap 2 years ago
parent
commit
07e94e8a60
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/cloudbrain/cloudbrain.go

+ 2
- 1
modules/cloudbrain/cloudbrain.go View File

@@ -194,6 +194,7 @@ func AdminOrOwnerOrJobCreaterRightForTrain(ctx *context.Context) {
func AdminOrJobCreaterRightForTrain(ctx *context.Context) { func AdminOrJobCreaterRightForTrain(ctx *context.Context) {


var jobID = ctx.Params(":jobid") var jobID = ctx.Params(":jobid")
log.Info("jobID=" + jobID)
job, err := GetCloudBrainByIdOrJobId(jobID, "jobid") job, err := GetCloudBrainByIdOrJobId(jobID, "jobid")
if err != nil { if err != nil {
log.Error("GetCloudbrainByJobID failed:%v", err.Error()) log.Error("GetCloudbrainByJobID failed:%v", err.Error())
@@ -709,7 +710,7 @@ type GenerateModelArtsNotebookReq struct {


ImageId string ImageId string
AutoStopDurationMs int64 AutoStopDurationMs int64
BranchName string
BranchName string


Spec *models.Specification Spec *models.Specification
ModelName string ModelName string


Loading…
Cancel
Save