diff options
author | Stan Hu <stanhu@gmail.com> | 2016-10-22 01:59:40 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-10-22 02:16:21 -0700 |
commit | 0890aeb61a5378ec3bb98511de236ee01eee8711 (patch) | |
tree | 2d2507a19e7e3ba347172f85ae413d23f5b306fc /lib | |
parent | 4ae57e0b374bbb8e461305d8a7a68b550bdd768d (diff) | |
download | gitlab-ce-0890aeb61a5378ec3bb98511de236ee01eee8711.tar.gz |
Fix error in generating labelssh-fix-broken-label-controller
Attempting to generate default set of labels would result in
an error:
ArgumentError: wrong number of arguments (given 1, expected 0)
Closes #23649
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/issues_labels.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/issues_labels.rb b/lib/gitlab/issues_labels.rb index 01a2c19ab23..dbc759367eb 100644 --- a/lib/gitlab/issues_labels.rb +++ b/lib/gitlab/issues_labels.rb @@ -19,7 +19,7 @@ module Gitlab ] labels.each do |params| - ::Labels::FindOrCreateService.new(project.owner, project).execute(params) + ::Labels::FindOrCreateService.new(project.owner, project, params).execute end end end |