From 94ff34b2c0bc8f323cde05e5efac2fe3f4f95815 Mon Sep 17 00:00:00 2001 From: Richard Pijnenburg Date: Wed, 1 May 2013 21:45:55 +0200 Subject: [PATCH] rename 'notify' to 'trigger_notify' This is required to make the puppet define work. --- lib/logstash/outputs/hipchat.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logstash/outputs/hipchat.rb b/lib/logstash/outputs/hipchat.rb index 1efdcf6a7..2d78a9f58 100644 --- a/lib/logstash/outputs/hipchat.rb +++ b/lib/logstash/outputs/hipchat.rb @@ -18,7 +18,7 @@ class LogStash::Outputs::HipChat < LogStash::Outputs::Base config :from, :validate => :string, :default => "logstash" # Whether or not this message should trigger a notification for people in the room. - config :notify, :validate => :boolean, :default => false + config :trigger_notify, :validate => :boolean, :default => false # Background color for message. # HipChat currently supports one of "yellow", "red", "green", "purple", @@ -47,7 +47,7 @@ class LogStash::Outputs::HipChat < LogStash::Outputs::Base hipchat_data['room_id'] = @room_id hipchat_data['from'] = @from hipchat_data['color'] = @color - hipchat_data['notify'] = @notify ? "1" : "0" + hipchat_data['notify'] = @trigger_notify ? "1" : "0" hipchat_data['message'] = event.sprintf(@format) @logger.debug("HipChat data", :hipchat_data => hipchat_data)