|
|
@@ -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) |
|
|
|