diff options
Diffstat (limited to 'app/services/merge_requests/mergeability/check_rebase_status_service.rb')
-rw-r--r-- | app/services/merge_requests/mergeability/check_rebase_status_service.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/services/merge_requests/mergeability/check_rebase_status_service.rb b/app/services/merge_requests/mergeability/check_rebase_status_service.rb index 99fa111643d..e3f003d9299 100644 --- a/app/services/merge_requests/mergeability/check_rebase_status_service.rb +++ b/app/services/merge_requests/mergeability/check_rebase_status_service.rb @@ -3,9 +3,8 @@ module MergeRequests module Mergeability class CheckRebaseStatusService < CheckBaseService - def self.failure_reason - :need_rebase - end + identifier :need_rebase + description 'Checks whether the merge request needs to be rebased' def execute return inactive unless merge_request.project.ff_merge_must_be_possible? |