diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-26 12:36:54 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-26 16:53:09 +0300 |
commit | ca93faf15f822cbf3eda5e87d4aaaaa81d413a8b (patch) | |
tree | 39dec7f4ac7269ae2a30d22e15584b4b3385b144 /app/models/user.rb | |
parent | 7da7af3a22058a6fb4e22cbf2b659e910cc92d54 (diff) |
Remove the use of `is_shared` of `Ci::Runner`
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 8e0dc91b2a7..9fb4a4cac9c 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1032,7 +1032,7 @@ class User < ActiveRecord::Base union = Gitlab::SQL::Union.new([project_runner_ids, group_runner_ids]) - Ci::Runner.specific.where("ci_runners.id IN (#{union.to_sql})") # rubocop:disable GitlabSecurity/SqlInjection + Ci::Runner.where("ci_runners.id IN (#{union.to_sql})") # rubocop:disable GitlabSecurity/SqlInjection end end |