corrction of the non initialized map

This commit is contained in:
pb 2025-07-30 18:15:55 +02:00
parent 76d83878eb
commit a093369dc5

View File

@ -237,6 +237,7 @@ func (w *Workflow) GetItemsByResources() (res map[tools.DataType]map[string][]st
}
for dt, meth := range dtMethodMap {
res[dt] = make(map[string][]string)
items := meth()
for _, i := range items {
_, r := i.GetResource()