diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-16 23:20:13 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-16 23:20:13 +0800 |
commit | 4852acef9256ee60d76564ff7509dc72e016a863 (patch) | |
tree | 923a9cd26c6f4f87c127c4a02ef2fc288bf40ef2 | |
parent | 5d76c2553898382531889f001a506eaafcaea56d (diff) | |
download | gitlab-ce-4852acef9256ee60d76564ff7509dc72e016a863.tar.gz |
Use FIXME instead, feedback from:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093/diffs#note_12501400
-rw-r--r-- | app/models/ci/runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 8149929f492..fa5cf03baec 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -27,8 +27,8 @@ module Ci end scope :available_for, ->(project) do - # TODO: That `to_sql` is needed to workaround a weird Rails bug. - # Without that, placeholders would miss one and couldn't match. + # FIXME: That `to_sql` is needed to workaround a weird Rails bug. + # Without that, placeholders would miss one and couldn't match. where(locked: false). where.not("id IN (#{project.runners.select(:id).to_sql})").specific end |