diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-05 18:45:33 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-16 10:56:47 -0300 |
commit | 0d8ec9d85fd86dc43104d44ade78fd31555b2bdb (patch) | |
tree | af5b7dfc9780308dcfb29658cf22eb439a5a19d6 | |
parent | 82f851e8a161e0e9982237536f692ca61ea4ec7e (diff) | |
download | gitlab-ce-0d8ec9d85fd86dc43104d44ade78fd31555b2bdb.tar.gz |
Fix Gitlab::GoogleCodeImport::Importer
-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 62da327931f..3e43e850273 100644 --- a/lib/gitlab/google_code_import/importer.rb +++ b/lib/gitlab/google_code_import/importer.rb @@ -237,7 +237,7 @@ module Gitlab def create_label(name) color = nice_label_color(name) - Label.create!(project_id: project.id, name: name, color: color) + Label.create!(subject: project, name: name, color: color) end def format_content(raw_content) |