corrction of the non initialized map
This commit is contained in:
parent
76d83878eb
commit
a093369dc5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user