Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-04-07 16:08:38 +0300
committerJames Lopez <james@jameslopez.es>2016-04-07 16:08:38 +0300
commita1a1d1f7de71f46787f12f1efa23346a2a6b1c29 (patch)
tree3b68596379b7e025c7964b27461c6baec7bedd8d /lib/gitlab/bitbucket_import
parent15044e7d857138b31199b796f02a81f0c29c643f (diff)
refactored create_or_update_import_data
Diffstat (limited to 'lib/gitlab/bitbucket_import')
-rw-r--r--lib/gitlab/bitbucket_import/project_creator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/project_creator.rb b/lib/gitlab/bitbucket_import/project_creator.rb
index 65b62b2b816..941f818b847 100644
--- a/lib/gitlab/bitbucket_import/project_creator.rb
+++ b/lib/gitlab/bitbucket_import/project_creator.rb
@@ -23,7 +23,7 @@ module Gitlab
import_url: "ssh://git@bitbucket.org/#{repo["owner"]}/#{repo["slug"]}.git",
).execute
- project.update_import_data(credentials: { bb_session: session_data })
+ project.create_or_update_import_data(credentials: { bb_session: session_data })
project
end