summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-16 16:33:08 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-16 16:33:08 +0100
commitfb713071db822cd5946e201d749ebee42ecbae0d (patch)
tree27ba1b37145fb6216fad8d792dbfbda4dbc34c31
parent24f0a45b0f8558071987ec1d70446f8e9f7df0ec (diff)
downloadgitlab-ce-fb713071db822cd5946e201d749ebee42ecbae0d.tar.gz
Use Token instead of ID
-rw-r--r--app/models/ci/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index 221da8adf32..d5b5a84d477 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -145,7 +145,7 @@ module Ci
private
def runner_queue_key
- "runner:build_queue:#{self.id}"
+ "runner:build_queue:#{self.token}"
end
def tag_constraints