summaryrefslogtreecommitdiff
path: root/lib/gitlab/google_code_import/importer.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 11:53:31 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:28 -0200
commit4f6d1c1d70d744ff599ae9c51e1cbc3a3c23e13e (patch)
tree0730947487efa9efd134a5263b209a642ccadbe8 /lib/gitlab/google_code_import/importer.rb
parentfc2c64fcdf913a37f987ab5e5626ef9bb9e8b854 (diff)
downloadgitlab-ce-4f6d1c1d70d744ff599ae9c51e1cbc3a3c23e13e.tar.gz
Rename Labels::CreateService to Labels::FindOrCreateService
Diffstat (limited to 'lib/gitlab/google_code_import/importer.rb')
-rw-r--r--lib/gitlab/google_code_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/google_code_import/importer.rb b/lib/gitlab/google_code_import/importer.rb
index 904a228aeef..b16a5654096 100644
--- a/lib/gitlab/google_code_import/importer.rb
+++ b/lib/gitlab/google_code_import/importer.rb
@@ -234,7 +234,7 @@ module Gitlab
def create_label(name)
params = { name: name, color: nice_label_color(name) }
- ::Labels::CreateService.new(project.owner, project, params).execute
+ ::Labels::FindOrCreateService.new(project.owner, project, params).execute
end
def format_content(raw_content)