Skip to content

Commit

Permalink
Merge pull request #845 from kazeborja/patch-1
Browse files Browse the repository at this point in the history
Fix wrong closure of Host parameter for curljson template
  • Loading branch information
bastelfreak committed Aug 11, 2018
2 parents 75f4cea + 2be7a7e commit 3623942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/curl_json.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LoadPlugin "curl_json"
<%- end -%>
<% if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.6']) >= 0) -%>
<%- if @host -%>
Host "<%= @host %>">
Host "<%= @host %>"
<%- end -%>
<%- end -%>
Instance "<%= @instance %>"
Expand Down

0 comments on commit 3623942

Please sign in to comment.