diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index a330c7572..84c93273d 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -1099,8 +1099,8 @@ func GetChildTypes(ctx *context.Context) { func CloudBrainBenchmarkNew(ctx *context.Context) { ctx.Data["description"] = "" - ctx.Data["benchmarkTypeID"] = "" - ctx.Data["benchmark_child_types_id_hidden"] = "" + ctx.Data["benchmarkTypeID"] = -1 + ctx.Data["benchmark_child_types_id_hidden"] = -1 err := cloudBrainNewDataPrepare(ctx) if err != nil { ctx.ServerError("get new cloudbrain info failed", err)