fix
This commit is contained in:
@@ -13,7 +13,7 @@ locals {
|
||||
for station in local.sorted-stations: flatten([
|
||||
for name in distinct(sort(station.organisations)):flatten([
|
||||
for org in local.sorted-organisations: flatten([
|
||||
for dsname in reverse(distinct(sort([for d in org.datasets: d.name]))):
|
||||
for dsname in reverse(distinct(sort([for d in org.datasets: d.name]))): flatten([
|
||||
for ds in org.datasets:
|
||||
merge(ds, {
|
||||
"name" = "${org.name}-${ds.name}"
|
||||
@@ -22,6 +22,7 @@ locals {
|
||||
"usage" = "station"
|
||||
"station" = station
|
||||
}) if ds.name = dsname
|
||||
])
|
||||
]) if org.name == name
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user