1
0

Fixed replace directive

This commit is contained in:
kolaente
2019-05-24 11:57:18 +02:00
parent 3356a691f7
commit a7bbaf7c5f
10 changed files with 29 additions and 26 deletions

View File

@ -113,8 +113,8 @@ func (rh reportHandler) fetchResourcesByFilters(origin *data.Resource, filtersXM
return reps, err
}
for in, resource := range resources {
reps = append(reps, reportRes{resource.Path, &resources[in], true})
for _, resource := range resources {
reps = append(reps, reportRes{resource.Path, &resource, true})
}
} else {
// the origin resource is not a collection, so returns just that as the result