diff options
Diffstat (limited to 'lib/gitlab/gitaly_client/blob_service.rb')
-rw-r--r-- | lib/gitlab/gitaly_client/blob_service.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/gitlab/gitaly_client/blob_service.rb b/lib/gitlab/gitaly_client/blob_service.rb index 5cde06bb6aa..8c704c2ceea 100644 --- a/lib/gitlab/gitaly_client/blob_service.rb +++ b/lib/gitlab/gitaly_client/blob_service.rb @@ -131,10 +131,9 @@ module Gitlab map_lfs_pointers(response) end - def get_all_lfs_pointers(revision) - request = Gitaly::GetNewLFSPointersRequest.new( - repository: @gitaly_repo, - revision: encode_binary(revision) + def get_all_lfs_pointers + request = Gitaly::GetAllLFSPointersRequest.new( + repository: @gitaly_repo ) response = GitalyClient.call(@gitaly_repo.storage_name, :blob_service, :get_all_lfs_pointers, request, timeout: GitalyClient.medium_timeout) |