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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-04 00:41:46 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 19:58:25 +0300
commit7e11ca86fdb23c967c25b19735770f99f936b32c (patch)
treeefc1d9d236c9dc7bdea9e0514811da289618f1aa /lib/gitlab/fogbugz_import
parent3db2261005c438faad8bf4a339d46eb7798f05b5 (diff)
Reuse LabelsFinder on Issueable#add_labels_by_names
Diffstat (limited to 'lib/gitlab/fogbugz_import')
-rw-r--r--lib/gitlab/fogbugz_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/fogbugz_import/importer.rb b/lib/gitlab/fogbugz_import/importer.rb
index 501d5a95547..1d6f97b99c7 100644
--- a/lib/gitlab/fogbugz_import/importer.rb
+++ b/lib/gitlab/fogbugz_import/importer.rb
@@ -129,7 +129,7 @@ module Gitlab
assignee_id: assignee_id,
state: bug['fOpen'] == 'true' ? 'opened' : 'closed'
)
- issue.add_labels_by_names(labels)
+ issue.add_labels_by_names(labels, project.creator)
if issue.iid != bug['ixBug']
issue.update_attribute(:iid, bug['ixBug'])