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
commitc2e3d49000c82ec42df4d85f317658390d1f330f (patch)
tree910a628259d4512ef13172751c528504dee50c9c /lib/custodian
parent6a8dc812bdcc1a8a40da523e192e2820b2abafda (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
#