Commit 818f4e50 authored by Matija Čupić's avatar Matija Čupić

Expose Ci::Runner#cached_contacted_at as Time

parent 4f16d4be
...@@ -70,7 +70,11 @@ module Ci ...@@ -70,7 +70,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