Handle updating only contacted_at runner cache

This commit is contained in:
Matija Čupić 2018-01-29 23:25:56 +01:00
parent 3be6f68a33
commit 63ecb57f1b
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,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