summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-07-11 12:12:23 +0100
committerSteve Kemp <steve@steve.org.uk>2013-07-11 12:12:23 +0100
commitfa604936849b236f63eabb61f57ba411fb39a5cb (patch)
tree9bc769ca295892312acf0deaa3c6e702d83dd99e /lib/custodian
parentf6f4a41b87160ca7fe3f6057ddc36e30a51ea72f (diff)
Read the alert-source for mauve-notifier form the settings object.
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/alerts/mauve.rb4
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
#