summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorCindy Pallares <cindy@gitlab.com>2018-10-24 11:55:50 -0500
committerCindy Pallares <cindy@gitlab.com>2018-10-25 13:56:39 -0500
commit75cf72344f373dfdb36bb501c0c980519ed61576 (patch)
treed5944b6d9d48ad588942b194cbef4ac4b717fec8 /lib/tasks
parenta97e599a78d3d62c0f29e2a02eec38166714977c (diff)
downloadgitlab-ce-75cf72344f373dfdb36bb501c0c980519ed61576.tar.gz
Use gitlab_environment for ldap rake task52993-ldap-rename_provider-rake-task-broken
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/ldap.rake2
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] ||