diff options
Diffstat (limited to 'lib/custodian/alerts/redis-state.rb')
-rw-r--r-- | lib/custodian/alerts/redis-state.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index e486d9a..9c5903c 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -60,8 +60,8 @@ module Custodian tmp['target'] = @test.target tmp['result'] = 'RAISE' tmp['reason'] = @test.error - tmp['test' ] = @test.to_s - tmp['class' ] = @test.class + tmp['test'] = @test.to_s + tmp['class'] = @test.class @redis.lpush('recent-tests', tmp.to_json) @redis.ltrim('recent-tests', 0, 100) @@ -84,8 +84,8 @@ module Custodian tmp['target'] = @test.target tmp['result'] = 'OK' tmp['reason'] = '' - tmp['test' ] = @test.to_s - tmp['class' ] = @test.class + tmp['test'] = @test.to_s + tmp['class'] = @test.class @redis.lpush('recent-tests', tmp.to_json) @redis.ltrim('recent-tests', 0, 100) |