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-02-04 20:34:21 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-04 20:34:21 +0300
commit38c242126d10d0887ca0d3dd8565ef2669dfec46 (patch)
tree827f26d15ed32097a42e43fc55fb956fbee27f77 /lib/api/helpers/runner.rb
parent28fd49c1d23f18692b74e4f4e1f21c24c45da3e6 (diff)
Refactor runner attribute caching implementation
Diffstat (limited to 'lib/api/helpers/runner.rb')
-rw-r--r--lib/api/helpers/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/runner.rb b/lib/api/helpers/runner.rb
index 8f45cae0e60..87ba40e26e1 100644
--- a/lib/api/helpers/runner.rb
+++ b/lib/api/helpers/runner.rb
@@ -20,7 +20,7 @@ module API
def authenticate_runner!
forbidden! unless current_runner
- current_runner.update_runner_info(get_runner_version_from_params)
+ current_runner.update_cached_info(get_runner_version_from_params)
end
def current_runner