Merge pull request #62 from elemoine/stacklight-group-by
Fix typo in lma_alarm.lua template
diff --git a/heka/files/lma_alarm.lua b/heka/files/lma_alarm.lua
index fb5c38e..b826112 100644
--- a/heka/files/lma_alarm.lua
+++ b/heka/files/lma_alarm.lua
@@ -30,8 +30,8 @@
['function'] = '{{ _rule.function }}',
{%- if _rule.group_by is defined %}
['group_by'] = {
- {%- for _group_by in rule.group_by %}
- {{ _group_by }},
+ {%- for _group_by in _rule.group_by %}
+ '{{ _group_by }}',
{%- endfor %}
},
{%- endif %}