diff options
author | Cindy Pallares <cindy@gitlab.com> | 2018-10-24 19:55:50 +0300 |
---|---|---|
committer | Cindy Pallares <cindy@gitlab.com> | 2018-10-25 21:56:39 +0300 |
commit | 75cf72344f373dfdb36bb501c0c980519ed61576 (patch) | |
tree | d5944b6d9d48ad588942b194cbef4ac4b717fec8 /lib/tasks | |
parent | a97e599a78d3d62c0f29e2a02eec38166714977c (diff) |
Use gitlab_environment for ldap rake task
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/ldap.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/ldap.rake b/lib/tasks/gitlab/ldap.rake index c66a2a263dc..0459de27c96 100644 --- a/lib/tasks/gitlab/ldap.rake +++ b/lib/tasks/gitlab/ldap.rake @@ -1,7 +1,7 @@ namespace :gitlab do namespace :ldap do desc 'GitLab | LDAP | Rename provider' - task :rename_provider, [:old_provider, :new_provider] => :environment do |_, args| + task :rename_provider, [:old_provider, :new_provider] => :gitlab_environment do |_, args| old_provider = args[:old_provider] || prompt('What is the old provider? Ex. \'ldapmain\': '.color(:blue)) new_provider = args[:new_provider] || |