Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-06-05 03:05:23 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-06-07 00:24:41 +0300
commit71cc57b1e4b7721c93107357517235a18f7ba8e2 (patch)
tree403fb1ddb1f280e6d414b10062176154aa0d660f /app/workers
parent5f28791b91c95b8fdd6865367b21bae2c78881ac (diff)
Rename Geo::PushEvent to Geo::RepositoryUpdatedEvent
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/ee/post_receive.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/ee/post_receive.rb b/app/workers/ee/post_receive.rb
index efa0a5762fe..b8f02ec58f6 100644
--- a/app/workers/ee/post_receive.rb
+++ b/app/workers/ee/post_receive.rb
@@ -13,7 +13,7 @@ module EE
super
# Generate repository updated event on Geo event log when Geo is enabled
- ::Geo::PushEventStore.new(post_received.project, refs: refs, changes: changes).create
+ ::Geo::RepositoryUpdatedEventStore.new(post_received.project, refs: refs, changes: changes).create
end
def process_wiki_changes(post_received)
@@ -23,7 +23,7 @@ module EE
if ::Gitlab::Geo.enabled?
# Create wiki repository updated event on Geo event log
- ::Geo::PushEventStore.new(post_received.project, source: Geo::PushEvent::WIKI).create
+ ::Geo::RepositoryUpdatedEventStore.new(post_received.project, source: Geo::RepositoryUpdatedEvent::WIKI).create
# Triggers repository update on secondary nodes
::Gitlab::Geo.notify_wiki_update(post_received.project)