diff options
author | M. Ricketts <rickettm@uk.ibm.com> | 2016-06-20 10:22:58 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-20 16:37:40 +0200 |
commit | 6d324f082e551f3ecf4df511aa483e972602eec6 (patch) | |
tree | 844959bf46ec087db2dfe25831168825b138d25f | |
parent | a337ae07421c863fbc76a60063fceee6d53652f8 (diff) | |
download | gitlab-ce-6d324f082e551f3ecf4df511aa483e972602eec6.tar.gz |
Use limit parameter rather than hardcoded value
-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 |