summaryrefslogtreecommitdiff
path: root/app/controllers/import
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-09 16:04:41 -0700
committerStan Hu <stanhu@gmail.com>2018-07-09 16:04:41 -0700
commit0936bff496a6e0a8615a56ddca6270e44202587a (patch)
treeb3d812809ca32fb4b27bd2a9369631e697dbbc81 /app/controllers/import
parent08f4e0a227e9dabd4630ef74283dc7e5c1c8ed4d (diff)
downloadgitlab-ce-0936bff496a6e0a8615a56ddca6270e44202587a.tar.gz
Finish specs for spec/controllers/import/bitbucket_server_controller_spec.rb
Diffstat (limited to 'app/controllers/import')
-rw-r--r--app/controllers/import/bitbucket_server_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/import/bitbucket_server_controller.rb b/app/controllers/import/bitbucket_server_controller.rb
index a3c24422e63..3e5e45bd527 100644
--- a/app/controllers/import/bitbucket_server_controller.rb
+++ b/app/controllers/import/bitbucket_server_controller.rb
@@ -63,7 +63,6 @@ class Import::BitbucketServerController < Import::BaseController
end
def status
- bitbucket_client = BitbucketServer::Client.new(credentials)
repos = bitbucket_client.repos
@repos, @incompatible_repos = repos.partition { |repo| repo.valid? }