Commit 771dd68c authored by Kim "BKC" Carlbäcker's avatar Kim "BKC" Carlbäcker

linting

parent 692426b1
......@@ -18,8 +18,8 @@ module Ci
last_update = Gitlab::Redis.with { |redis| redis.get(current_runner_redis_key)}
if params[:last_update] != ""
if :last_update == last_update
if params[:last_update].present?
if params[:last_update] == last_update
headers 'X-GitLab-Last-Update', last_update
return build_not_found!
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