diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 11:53:31 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:28 -0200 |
commit | 4f6d1c1d70d744ff599ae9c51e1cbc3a3c23e13e (patch) | |
tree | 0730947487efa9efd134a5263b209a642ccadbe8 /lib/gitlab/fogbugz_import | |
parent | fc2c64fcdf913a37f987ab5e5626ef9bb9e8b854 (diff) | |
download | gitlab-ce-4f6d1c1d70d744ff599ae9c51e1cbc3a3c23e13e.tar.gz |
Rename Labels::CreateService to Labels::FindOrCreateService
Diffstat (limited to 'lib/gitlab/fogbugz_import')
-rw-r--r-- | lib/gitlab/fogbugz_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/fogbugz_import/importer.rb b/lib/gitlab/fogbugz_import/importer.rb index f154ee689cf..ce4d87a0741 100644 --- a/lib/gitlab/fogbugz_import/importer.rb +++ b/lib/gitlab/fogbugz_import/importer.rb @@ -75,7 +75,7 @@ module Gitlab def create_label(name) params = { title: name, color: nice_label_color(name) } - ::Labels::CreateService.new(project.owner, project, params).execute + ::Labels::FindOrCreateService.new(project.owner, project, params).execute end def user_info(person_id) |