Skip to content

Commit

Permalink
*fix* variable name in config file template (copy paste bites again)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramblek1 committed Aug 7, 2017
1 parent 3944ffd commit 9d531d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blackbox_exporter.yaml.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% require 'yaml' -%>
<% modules = scope.lookupvar('::prometheus::blackbox_exporter::modules') -%>
<% full_config = { 'modules'=>global } -%>
<% full_config = { 'modules'=>modules } -%>
<%= full_config.to_yaml -%>

0 comments on commit 9d531d2

Please sign in to comment.