diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-29 15:56:03 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | 1024718e9fddbb0d61d3f64f44303964641fcdd8 (patch) | |
tree | 3eef4777a58c9d3e798827ca39e3a5fa0602088c /app/services/ci | |
parent | 3875983205fd3cdbdc93f18b118deaf098d75af1 (diff) | |
download | gitlab-ce-1024718e9fddbb0d61d3f64f44303964641fcdd8.tar.gz |
Refactor access_level to not_protected and ref_protected
Diffstat (limited to 'app/services/ci')
-rw-r--r-- | app/services/ci/register_job_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb index 1f243de5761..b8db709211a 100644 --- a/app/services/ci/register_job_service.rb +++ b/app/services/ci/register_job_service.rb @@ -78,7 +78,7 @@ module Ci def new_builds builds = Ci::Build.pending.unstarted - builds = builds.protected_ if runner.protected_? + builds = builds.ref_protected if runner.ref_protected? builds end |