Commit 75cf7234 authored by Cindy Pallares's avatar Cindy Pallares

Use gitlab_environment for ldap rake task

parent a97e599a
---
title: Use gitlab_environment for ldap rake task
merge_request: 22582
author:
type: fixed
namespace :gitlab do namespace :gitlab do
namespace :ldap do namespace :ldap do
desc 'GitLab | LDAP | Rename provider' 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] || old_provider = args[:old_provider] ||
prompt('What is the old provider? Ex. \'ldapmain\': '.color(:blue)) prompt('What is the old provider? Ex. \'ldapmain\': '.color(:blue))
new_provider = args[:new_provider] || new_provider = args[:new_provider] ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment