diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-07-11 12:12:23 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-07-11 12:12:23 +0100 |
commit | fa604936849b236f63eabb61f57ba411fb39a5cb (patch) | |
tree | 9bc769ca295892312acf0deaa3c6e702d83dd99e /lib/custodian/alerts | |
parent | f6f4a41b87160ca7fe3f6057ddc36e30a51ea72f (diff) |
Read the alert-source for mauve-notifier form the settings object.
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r-- | lib/custodian/alerts/mauve.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 # |