input-enrichment: Fix incorrect identification of enriched elements

This commit is contained in:
Johannes Meyer 2021-06-09 15:19:05 +02:00
parent c038bf792f
commit 7c4488ddc7

View File

@ -79,7 +79,7 @@
inputs.forEach(function (input) { inputs.forEach(function (input) {
var enrichment = _this._enrichments.get(input); var enrichment = _this._enrichments.get(input);
if (enrichment) { if (enrichment) {
_this._cachedEnrichments[_this.icinga.utils.getDomPath(input).join(' ')] = enrichment; _this._cachedEnrichments[_this.icinga.utils.getDomPath(input).join(' > ')] = enrichment;
} }
}); });
}; };