|
|
@@ -652,6 +652,7 @@ func CloudBrainInferenceJobCreate(ctx *context.Context, form auth.CreateCloudBra |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if !jobNamePattern.MatchString(displayJobName) { |
|
|
if !jobNamePattern.MatchString(displayJobName) { |
|
|
|
|
|
cloudBrainInferenceJobErrorPrepare(ctx, form) |
|
|
ctx.RenderWithErr(ctx.Tr("repo.cloudbrain_jobname_err"), tpl, &form) |
|
|
ctx.RenderWithErr(ctx.Tr("repo.cloudbrain_jobname_err"), tpl, &form) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|