From d832bb8964209c1bae2c3e61a6d22e49f49b9565 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Fri, 21 Jan 2022 17:16:21 +0800 Subject: [PATCH] opt --- routers/repo/cloudbrain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index 662719799..fb87241d3 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -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 }