diff options
Diffstat (limited to 'lib/gitlab/gitaly_client/ref_service.rb')
-rw-r--r-- | lib/gitlab/gitaly_client/ref_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client/ref_service.rb b/lib/gitlab/gitaly_client/ref_service.rb index da579276101..98b1d3dceef 100644 --- a/lib/gitlab/gitaly_client/ref_service.rb +++ b/lib/gitlab/gitaly_client/ref_service.rb @@ -235,7 +235,7 @@ module Gitlab end def consume_list_refs_response(response) - response.flat_map(&:references) + response.flat_map { |res| res.references.to_ary } end def sort_local_branches_by_param(sort_by) |