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