Skip to content

Commit a57e6e7

Browse files
authored
Merge pull request #185 from DougEdey/fix_stats
Fix typo in Redis::BuildRecord
2 parents 3b3e862 + 62aa476 commit a57e6e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ruby/lib/ci/queue/redis/build_record.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def record_stats(stats, pipeline: redis)
9191
return unless stats
9292
stats.each do |stat_name, stat_value|
9393
pipeline.hset(key(stat_name), config.worker_id, stat_value)
94-
pipeline.expire(key(stat-name), config.redis_ttl)
94+
pipeline.expire(key(stat_name), config.redis_ttl)
9595
end
9696
end
9797

ruby/lib/rspec/queue.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def parser(options)
161161
Defines how long the test report remain after the test run, in seconds.
162162
Defaults to 28,800 (8 hours)
163163
EOS
164-
parsed.separator ""
164+
parser.separator ""
165165
parser.on("--redis-ttl SECONDS", Integer, help) do |time|
166166
queue.config.redis_ttl = time
167167
end

0 commit comments

Comments
 (0)