summaryrefslogtreecommitdiff
path: root/lib/api/helpers
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-29 17:21:30 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-01-29 17:21:30 +0100
commit397442a06140a8cf38bebe3f4519311b1448f23d (patch)
tree842174ffdf6abd6b78467090bb79b442ea59e389 /lib/api/helpers
parent0be8b3cdf677f8b20be820ad3f6fdd4b9b08fc56 (diff)
downloadgitlab-ce-397442a06140a8cf38bebe3f4519311b1448f23d.tar.gz
Update runner info on all authenticated requests
Diffstat (limited to 'lib/api/helpers')
-rw-r--r--lib/api/helpers/runner.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/helpers/runner.rb b/lib/api/helpers/runner.rb
index ad8c1c4407c..5ac9181f878 100644
--- a/lib/api/helpers/runner.rb
+++ b/lib/api/helpers/runner.rb
@@ -20,6 +20,8 @@ module API
def authenticate_runner!
forbidden! unless current_runner
+
+ update_runner_info
end
def current_runner