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

Expose Ci::Runner#cached_contacted_at as Time

parent df255455
...@@ -69,7 +69,11 @@ module Ci ...@@ -69,7 +69,11 @@ module Ci
end end
def cached_contacted_at def cached_contacted_at
runner_info_cache(:contacted_at) || self.contacted_at if runner_info_cache(:contacted_at)
Time.zone.parse(runner_info_cache(:contacted_at))
else
self.contacted_at
end
end end
def set_default_values def set_default_values
......
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