Fix inverted logic for component template

This commit is contained in:
Wes committed 2023-07-06 20:46:35 +00:00
1 parent 910125f13a
commit 0b5ee49873
1 file changed
+1 -1
@@ -67,7 +67,7 @@ if [ -f "$file" ]; then
cd ${ELASTICSEARCH_TEMPLATES}/component/elastic-agent
echo "Loading Elastic Agent component templates..."
{% if GLOBALS.role != 'so-heavynode' %}
{% if GLOBALS.role == 'so-heavynode' %}
component_pattern="so-*"
{% else %}
component_pattern="*"