From fa604936849b236f63eabb61f57ba411fb39a5cb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 11 Jul 2013 12:12:23 +0100 Subject: Read the alert-source for mauve-notifier form the settings object. --- lib/custodian/alerts/mauve.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/custodian/alerts') diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb index 7fe28bc..66379a5 100644 --- a/lib/custodian/alerts/mauve.rb +++ b/lib/custodian/alerts/mauve.rb @@ -69,7 +69,7 @@ module Custodian # update = Mauve::Proto::AlertUpdate.new update.alert = [] - update.source = "custodian" + update.source = @settings.alert_source() update.replace = false # @@ -151,7 +151,7 @@ module Custodian # update = Mauve::Proto::AlertUpdate.new update.alert = [] - update.source = "custodian" + update.source = @settings.alert_source() update.replace = false # -- cgit v1.2.1