diff options
author | M. Ricketts <rickettm@uk.ibm.com> | 2016-06-20 12:22:58 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-20 17:37:40 +0300 |
commit | 6d324f082e551f3ecf4df511aa483e972602eec6 (patch) | |
tree | 844959bf46ec087db2dfe25831168825b138d25f /lib/tasks | |
parent | a337ae07421c863fbc76a60063fceee6d53652f8 (diff) |
Use limit parameter rather than hardcoded value
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index e9a4e37ec48..60f4636e737 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -784,7 +784,7 @@ namespace :gitlab do servers.each do |server| puts "Server: #{server}" Gitlab::LDAP::Adapter.open(server) do |adapter| - users = adapter.users(adapter.config.uid, '*', 100) + users = adapter.users(adapter.config.uid, '*', limit) users.each do |user| puts "\tDN: #{user.dn}\t #{adapter.config.uid}: #{user.uid}" end |