Commit a29f3a6d authored by Matija Čupić's avatar Matija Čupić

Handle updating only contacted_at runner cache

parent 74423c14
......@@ -194,7 +194,7 @@ module Ci
Gitlab::Redis::SharedState.with do |redis|
redis.set("#{runner_info_redis_cache_key}:contacted_at", Time.now)
params.each do |key, value|
params && params.each do |key, value|
redis_key = "#{runner_info_redis_cache_key}:#{key}"
redis.set(redis_key, value)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment