This commit is contained in:
Sebastien Blot 2023-11-17 18:07:03 +01:00
parent 017331ca7f
commit 94a378d230
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A

View file

@ -201,6 +201,18 @@ func (i *Item) logMissingSubItems() {
}
}
for _, subName := range i.WaapConfigs {
if i.hub.GetItem(WAAP_CONFIGS, subName) == nil {
log.Errorf("can't find %s in %s, required by %s", subName, WAAP_CONFIGS, i.Name)
}
}
for _, subName := range i.WaapRules {
if i.hub.GetItem(WAAP_RULES, subName) == nil {
log.Errorf("can't find %s in %s, required by %s", subName, WAAP_RULES, i.Name)
}
}
for _, subName := range i.Collections {
if i.hub.GetItem(COLLECTIONS, subName) == nil {
log.Errorf("can't find %s in %s, required by %s", subName, COLLECTIONS, i.Name)