Skip to content

Commit

Permalink
Merge pull request redhat-openstack#185 from smoeding/fix-network-plugin
Browse files Browse the repository at this point in the history
Fix template variable to use @-notation
  • Loading branch information
nibalizer committed Oct 15, 2014
2 parents cf79540 + 29a9837 commit 6d92f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/plugin/network/listener.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Plugin network>
<% if @collectd_version and (scope.function_versioncmp([collectd_version, '4.7']) >= 0) -%>
<% if @collectd_version and (scope.function_versioncmp([@collectd_version, '4.7']) >= 0) -%>
<Listen "<%= @name %>" "<%= @port %>">
<% if @securitylevel -%>
SecurityLevel "<%= @securitylevel %>"
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin/network/server.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Plugin network>
<% if @collectd_version and (scope.function_versioncmp([collectd_version, '4.7']) >= 0) -%>
<% if @collectd_version and (scope.function_versioncmp([@collectd_version, '4.7']) >= 0) -%>
<Server "<%= @name %>" "<%= @port %>">
<% if @securitylevel -%>
SecurityLevel "<%= @securitylevel %>"
Expand Down

0 comments on commit 6d92f5d

Please sign in to comment.