Browse Source

opt

tags/v1.22.1.3
lewis 3 years ago
parent
commit
d832bb8964
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/cloudbrain.go

+ 1
- 0
routers/repo/cloudbrain.go View File

@@ -1200,6 +1200,7 @@ func CloudBrainBenchmarkCreate(ctx *context.Context, form auth.CreateCloudBrainF
benchmarkChildTypeID := form.BenchmarkChildTypeID

if !jobNamePattern.MatchString(jobName) {
cloudBrainNewDataPrepare(ctx)
ctx.RenderWithErr(ctx.Tr("repo.cloudbrain_jobname_err"), tplCloudBrainBenchmarkNew, &form)
return
}


Loading…
Cancel
Save