Browse Source

修改评测任务出错时数据恢复问题

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.2.2^2
zouap 3 years ago
parent
commit
13f1ab8725
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      routers/repo/cloudbrain.go

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

@@ -1098,6 +1098,9 @@ func GetChildTypes(ctx *context.Context) {
}

func CloudBrainBenchmarkNew(ctx *context.Context) {
ctx.Data["description"] = ""
ctx.Data["benchmarkTypeID"] = ""
ctx.Data["benchmark_child_types_id_hidden"] = ""
err := cloudBrainNewDataPrepare(ctx)
if err != nil {
ctx.ServerError("get new cloudbrain info failed", err)


Loading…
Cancel
Save