Use Token instead of ID

This commit is contained in:
Kim "BKC" Carlbäcker 2016-12-16 16:33:08 +01:00
parent 24f0a45b0f
commit fb713071db

View file

@ -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