summaryrefslogtreecommitdiff
path: root/lib/gitlab/bitbucket_import/importer.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-07 16:07:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-07 16:07:09 +0200
commitaeab4e62637cd67f9c2ddd64589f3c9cca1ee895 (patch)
treed8a4d4f07c996aca0adbd8c75436f362f2e341af /lib/gitlab/bitbucket_import/importer.rb
parent001a28d04203feac77840b90024b769b442130b2 (diff)
downloadgitlab-ce-aeab4e62637cd67f9c2ddd64589f3c9cca1ee895.tar.gz
Use Project#full_name instead of name_with_namespace
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/gitlab/bitbucket_import/importer.rb')
-rw-r--r--lib/gitlab/bitbucket_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb
index d48ae17aeaf..bffbcb86137 100644
--- a/lib/gitlab/bitbucket_import/importer.rb
+++ b/lib/gitlab/bitbucket_import/importer.rb
@@ -135,7 +135,7 @@ module Gitlab
if label.valid?
@labels[label_params[:title]] = label
else
- raise "Failed to create label \"#{label_params[:title]}\" for project \"#{project.name_with_namespace}\""
+ raise "Failed to create label \"#{label_params[:title]}\" for project \"#{project.full_name}\""
end
end
end