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/google_code_import
parent3db2261005c438faad8bf4a339d46eb7798f05b5 (diff)
Reuse LabelsFinder on Issueable#add_labels_by_names
Diffstat (limited to 'lib/gitlab/google_code_import')
-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 ef8c3e35619..8d757da2264 100644
--- a/lib/gitlab/google_code_import/importer.rb
+++ b/lib/gitlab/google_code_import/importer.rb
@@ -100,7 +100,7 @@ module Gitlab
state: raw_issue["state"] == "closed" ? "closed" : "opened"
)
- issue.add_labels_by_names(labels)
+ issue.add_labels_by_names(labels, project.creator)
if issue.iid != raw_issue["id"]
issue.update_attribute(:iid, raw_issue["id"])