Commit 6b44ebb0 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix Geo::ScheduleRepoMoveService autoload error

parent 75136cc0
module Geo module Geo
class ScheduleRepoRenameService class ScheduleRepoMoveService
attr_reader :id, :name, :old_path_with_namespace, :path_with_namespace attr_reader :id, :name, :old_path_with_namespace, :path_with_namespace
def initialize(params) def initialize(params)
......
...@@ -35,10 +35,10 @@ module API ...@@ -35,10 +35,10 @@ module API
::Geo::ScheduleRepoDestroyService.new(params).execute ::Geo::ScheduleRepoDestroyService.new(params).execute
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::ScheduleRepoMoveService.new(params).execute
when 'project_transfer' when 'project_transfer'
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::ScheduleRepoMoveService.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