From f3e0ec7b4a2aee41a097bf8385f34e1a16c64713 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 12 Aug 2019 15:50:30 +0000 Subject: Update Gitaly server and gem to 1.58.0 --- lib/gitlab/gitaly_client/notification_service.rb | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 lib/gitlab/gitaly_client/notification_service.rb (limited to 'lib') diff --git a/lib/gitlab/gitaly_client/notification_service.rb b/lib/gitlab/gitaly_client/notification_service.rb deleted file mode 100644 index 873c3e4086d..00000000000 --- a/lib/gitlab/gitaly_client/notification_service.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -module Gitlab - module GitalyClient - class NotificationService - # 'repository' is a Gitlab::Git::Repository - def initialize(repository) - @gitaly_repo = repository.gitaly_repository - @storage = repository.storage - end - - def post_receive - GitalyClient.call( - @storage, - :notification_service, - :post_receive, - Gitaly::PostReceiveRequest.new(repository: @gitaly_repo) - ) - end - end - end -end -- cgit v1.2.1