diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-04 09:20:07 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-04 09:20:07 +0000 |
commit | f252c1ab4f2211d9c8ae1c43f4e0f52d01599303 (patch) | |
tree | dae61fdcb3e43dcf1cb3a2b407b40f4b7e77aa0e /lib | |
parent | f7742e563b797bf8ef44ffed2e1e44b69a879727 (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')
-rw-r--r-- | lib/custodian/alerts/mauve.rb | 2 |
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) |