summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-04 09:20:07 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-04 09:20:07 +0000
commit29c8f28c1addfee7728b2be3bf70cc93f36f322d (patch)
treea371913e7b6899d74eed1702b0c3a366d094dc05 /lib/custodian/alerts
parent5a793a25dd561bb2c154610a717b981a870fd3ba (diff)
Explictly convert the class to a string.
This is required under Ruby 1.8, as I discovered when deploying to offsite3.
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r--lib/custodian/alerts/mauve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb
index 9a5d9ed..79a1416 100644
--- a/lib/custodian/alerts/mauve.rb
+++ b/lib/custodian/alerts/mauve.rb
@@ -224,7 +224,7 @@ module Custodian
# we need to make sure these are distinct too.
#
id_key = test.to_s
- id_key += test.class
+ id_key += test.class.to_s
alert.id = Digest::SHA1.hexdigest(id_key)