diff options
author | James Lopez <james@jameslopez.es> | 2016-04-07 15:08:38 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-04-07 15:08:38 +0200 |
commit | a1a1d1f7de71f46787f12f1efa23346a2a6b1c29 (patch) | |
tree | 3b68596379b7e025c7964b27461c6baec7bedd8d /lib/gitlab/bitbucket_import/project_creator.rb | |
parent | 15044e7d857138b31199b796f02a81f0c29c643f (diff) | |
download | gitlab-ce-a1a1d1f7de71f46787f12f1efa23346a2a6b1c29.tar.gz |
refactored create_or_update_import_data
Diffstat (limited to 'lib/gitlab/bitbucket_import/project_creator.rb')
-rw-r--r-- | lib/gitlab/bitbucket_import/project_creator.rb | 2 |
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 |