Commit 16117b06 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Transfer repository replication support in Geo.

parent 0fcc0454
...@@ -36,6 +36,9 @@ module API ...@@ -36,6 +36,9 @@ module API
when 'project_rename' when 'project_rename'
required_attributes! %w(event_name project_id path_with_namespace old_path_with_namespace) required_attributes! %w(event_name project_id path_with_namespace old_path_with_namespace)
::Geo::ScheduleRepoRenameService.new(params).execute ::Geo::ScheduleRepoRenameService.new(params).execute
when 'project_transfer'
required_attributes! %w(event_name project_id path_with_namespace old_path_with_namespace)
::Geo::ScheduleRepoRenameService.new(params).execute
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment