summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 23:41:46 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 23:41:46 -0300
commitaeb1684c524628f7279eadce5e461880e9865349 (patch)
tree7517a5f79e18d9a1190fc8aff1f0399d3bb015f0
parentdd1157c80b90728a71b1f3a723e2cdeb335ab1b3 (diff)
downloadgitlab-ce-aeb1684c524628f7279eadce5e461880e9865349.tar.gz
Fix small typo
-rw-r--r--lib/github/import.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/github/import.rb b/lib/github/import.rb
index ef0ef9adc7a..fddd52af260 100644
--- a/lib/github/import.rb
+++ b/lib/github/import.rb
@@ -324,8 +324,8 @@ module Github
remove_branch(pull_request.target_branch_name) unless pull_request.target_branch_exists?
end
- def label_ids(issuable)
- issuable.map { |attrs| cached[:label_ids][attrs.fetch('name')] }.compact
+ def label_ids(labels)
+ labels.map { |attrs| cached[:label_ids][attrs.fetch('name')] }.compact
end
def milestone_id(milestone)