Skip to content

Commit

Permalink
Merge pull request redhat-openstack#245 from danielspang/master
Browse files Browse the repository at this point in the history
Only set LogSendErrors option if collectd version >= 5.4.
  • Loading branch information
nibalizer committed Mar 13, 2015
2 parents 59ab73e + 3f60606 commit 91e1daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/plugin/write_graphite.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
StoreRates <%= @storerates %>
AlwaysAppendDS <%= @alwaysappendds %>
SeparateInstances <%= @separateinstances %>
LogSendErrors <%= @logsenderrors %>
<% if @collectd_version and (scope.function_versioncmp([@collectd_version, '5.4']) >= 0) -%>
LogSendErrors <%= @logsenderrors %>
Protocol "<%= @protocol %>"
<% end -%>
</Carbon>
Expand Down

0 comments on commit 91e1daf

Please sign in to comment.