summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-01-24 14:15:58 +0000
committerSteve Kemp <steve@steve.org.uk>2013-01-24 14:15:58 +0000
commite50a695268d42b79af32e71638880b0bb5a0fb7e (patch)
tree6366c82ea1edd7a292c261d2b01fc471a1f5a691 /lib/custodian
parent4be22381b41c00ef0b0f063300d504902ec98574 (diff)
fixed
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/alerts/redis-state.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb
index d2c525d..b2bd0ab 100644
--- a/lib/custodian/alerts/redis-state.rb
+++ b/lib/custodian/alerts/redis-state.rb
@@ -131,8 +131,8 @@ module Custodian
# Now store the duration, and trim it to the most recent
# 1000 entries.
#
- @redis.lpush( "#{host}-#{test}", ms )
- @redis.ltrim( "#{host}-#{test}", "0", "1200" )
+ @redis.lpush( "duration-#{host}-#{test}", ms )
+ @redis.ltrim( "duration-#{host}-#{test}", "0", "1200" )
end
register_alert_type "redis"