Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-05-15 22:55:16 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-05-15 22:55:16 +0300
commit6cc3a07dca635aa61d275eb6803cd986f4c9f967 (patch)
tree398079c866fd6ef146273a15f67ffb7c7c0fc577 /app/models/ci
parent2c29e80a93dffb1a854f4c63171b1a91eddea8d9 (diff)
Dynamically cast value from cache
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/runner.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index 54326d0c42c..49db5f6ab7f 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -75,8 +75,7 @@ module Ci
project_type: 3
}
- cached_attr_reader :version, :revision, :platform, :architecture, :ip_address
- cached_attr_time_reader :contacted_at
+ cached_attr_reader :version, :revision, :platform, :architecture, :ip_address, :contacted_at
chronic_duration_attr :maximum_timeout_human_readable, :maximum_timeout