Skip to content

Commit 09da4ac

Browse files
committed
Fix redis 4.8 deprecation warnings
1 parent 7916139 commit 09da4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def push(tests)
215215
end
216216

217217
def register
218-
redis.sadd(key('workers'), worker_id)
218+
redis.sadd(key('workers'), [worker_id])
219219
end
220220
end
221221
end

0 commit comments

Comments
 (0)