Browse Source

提交代码。

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

+ 2
- 2
routers/repo/cloudbrain.go View File

@@ -1025,8 +1025,8 @@ func GetChildTypes(ctx *context.Context) {
}
}
var isExist bool
for id, benchmarkType := range benchmarkTypes.BenchmarkType {
if id == benchmarkTypeID {
for _, benchmarkType := range benchmarkTypes.BenchmarkType {
if benchmarkTypeID == benchmarkType.Id {
isExist = true
re["child_types"] = benchmarkType.Second
re["result_code"] = "0"


Loading…
Cancel
Save