From f252c1ab4f2211d9c8ae1c43f4e0f52d01599303 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 4 Mar 2015 09:20:07 +0000 Subject: Explictly convert the class to a string. This is required under Ruby 1.8, as I discovered when deploying to offsite3. --- lib/custodian/alerts/mauve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.1