diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-10 14:42:55 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-16 10:52:28 +0200 |
commit | c3f9d80a6e0950361e056ded4107015d3923f56d (patch) | |
tree | 91155d2ef99e8fd9feca798b1a6dd1d3f5519d9d /lib/api/runners.rb | |
parent | 18821b157dbf3a73637ab741e8154b5133ce0e72 (diff) | |
download | gitlab-ce-c3f9d80a6e0950361e056ded4107015d3923f56d.tar.gz |
Rename User#ci_authorized_runners -> ci_owned_runners
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r-- | lib/api/runners.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb index db9cff80cf9..4f12aeac1fd 100644 --- a/lib/api/runners.rb +++ b/lib/api/runners.rb @@ -14,7 +14,7 @@ module API use :pagination end get do - runners = filter_runners(current_user.ci_authorized_runners, params[:scope], without: %w(specific shared)) + runners = filter_runners(current_user.ci_owned_runners, params[:scope], without: %w(specific shared)) present paginate(runners), with: Entities::Runner end |