diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-12-11 14:43:44 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-12-11 14:43:44 +0100 |
commit | 6b0c0d5bcc7940c7d84b8af965b2c4f9ceeb4175 (patch) | |
tree | f527119ca6c43f190bbaaef4dc277808ca24a009 /lib/ci/api | |
parent | 917effb7379f8e871dbc113d7c7dab89473d4bc8 (diff) | |
download | gitlab-ce-6b0c0d5bcc7940c7d84b8af965b2c4f9ceeb4175.tar.gz |
Ensure that runners registration token is present
Diffstat (limited to 'lib/ci/api')
-rw-r--r-- | lib/ci/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/api/helpers.rb b/lib/ci/api/helpers.rb index 12d7396189d..abd1869efc0 100644 --- a/lib/ci/api/helpers.rb +++ b/lib/ci/api/helpers.rb @@ -23,7 +23,7 @@ module Ci end def runner_registration_token_valid? - params[:token] == current_application_settings.runners_registration_token + params[:token] == current_application_settings.ensure_runners_registration_token end def update_runner_last_contact |