diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index b628f0e18..d5b525415 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -314,8 +314,7 @@ func grampusNotebookNewDataPrepare(ctx *context.Context, processType string) err func grampusTrainJobNewDataPrepare(ctx *context.Context, processType string) error { ctx.Data["PageIsCloudBrain"] = true - t := time.Now() - var displayJobName = jobNamePrefixValid(cutString(ctx.User.Name, 5)) + t.Format("2006010215") + strconv.Itoa(int(t.Unix()))[5:] + var displayJobName = cloudbrainService.GetDisplayJobName(ctx.User.Name) ctx.Data["display_job_name"] = displayJobName //get valid images