Commit ff73a480 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'sy-ensure-correct-base-oncall-classes' into 'master'

Help rails find the right base service classes for oncall services

See merge request gitlab-org/gitlab!54468
parents 2d19bc76 7c3d3e80
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module IncidentManagement module IncidentManagement
module OncallRotations module OncallRotations
class CreateService < BaseService class CreateService < OncallRotations::BaseService
MAXIMUM_PARTICIPANTS = 100 MAXIMUM_PARTICIPANTS = 100
# @param schedule [IncidentManagement::OncallSchedule] # @param schedule [IncidentManagement::OncallSchedule]
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module IncidentManagement module IncidentManagement
module OncallRotations module OncallRotations
class DestroyService < BaseService class DestroyService < OncallRotations::BaseService
# @param oncall_schedule [IncidentManagement::OncallRotation] # @param oncall_schedule [IncidentManagement::OncallRotation]
# @param user [User] # @param user [User]
def initialize(oncall_rotation, user) def initialize(oncall_rotation, user)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module IncidentManagement module IncidentManagement
module OncallSchedules module OncallSchedules
class CreateService < BaseService class CreateService < OncallSchedules::BaseService
# @param project [Project] # @param project [Project]
# @param user [User] # @param user [User]
# @param params [Hash] # @param params [Hash]
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module IncidentManagement module IncidentManagement
module OncallSchedules module OncallSchedules
class DestroyService < BaseService class DestroyService < OncallSchedules::BaseService
# @param oncall_schedule [IncidentManagement::OncallSchedule] # @param oncall_schedule [IncidentManagement::OncallSchedule]
# @param user [User] # @param user [User]
def initialize(oncall_schedule, user) def initialize(oncall_schedule, user)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module IncidentManagement module IncidentManagement
module OncallSchedules module OncallSchedules
class UpdateService < BaseService class UpdateService < OncallSchedules::BaseService
# @param oncall_schedule [IncidentManagement::OncallSchedule] # @param oncall_schedule [IncidentManagement::OncallSchedule]
# @param user [User] # @param user [User]
# @param params [Hash] # @param params [Hash]
......
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