summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/redis-state.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:23:46 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:23:46 +0000
commitd2f8a091b0b6c32207624e3cc5af81ffbca4aba6 (patch)
treeb244cb665c36fa27ed79bd5860c7264ebeb90309 /lib/custodian/alerts/redis-state.rb
parent775e9c5bbe2d132668e453965023adbf25cf0fd4 (diff)
Remove spaces inside blocks.
Diffstat (limited to 'lib/custodian/alerts/redis-state.rb')
-rw-r--r--lib/custodian/alerts/redis-state.rb8
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)