generated from VLADIMIR/template
fix
This commit is contained in:
@@ -21,21 +21,6 @@ func mapScenariosLight(
|
||||
return res
|
||||
}
|
||||
|
||||
func mapScenarios(
|
||||
o []*repos.Scenario,
|
||||
domain string,
|
||||
) ([]*Scenario, error) {
|
||||
res := make([]*Scenario, 0, len(o))
|
||||
for _, item := range o {
|
||||
scenario, err := mapScenario(item, domain)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
res = append(res, scenario)
|
||||
}
|
||||
return res, nil
|
||||
}
|
||||
|
||||
func MapScenarioLight(
|
||||
o *repos.Scenario,
|
||||
domain string,
|
||||
|
||||
Reference in New Issue
Block a user