diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-03 18:41:46 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:25 -0200 |
commit | 7e11ca86fdb23c967c25b19735770f99f936b32c (patch) | |
tree | efc1d9d236c9dc7bdea9e0514811da289618f1aa /lib/gitlab/google_code_import | |
parent | 3db2261005c438faad8bf4a339d46eb7798f05b5 (diff) | |
download | gitlab-ce-7e11ca86fdb23c967c25b19735770f99f936b32c.tar.gz |
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.rb | 2 |
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"]) |