diff options
Diffstat (limited to 'app/services/merge_requests/mergeability/check_broken_status_service.rb')
-rw-r--r-- | app/services/merge_requests/mergeability/check_broken_status_service.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/services/merge_requests/mergeability/check_broken_status_service.rb b/app/services/merge_requests/mergeability/check_broken_status_service.rb index ae637b4e19d..d432375c423 100644 --- a/app/services/merge_requests/mergeability/check_broken_status_service.rb +++ b/app/services/merge_requests/mergeability/check_broken_status_service.rb @@ -2,9 +2,8 @@ module MergeRequests module Mergeability class CheckBrokenStatusService < CheckBaseService - def self.failure_reason - :broken_status - end + identifier :broken_status + description 'Checks whether the merge request is broken' def execute if merge_request.broken? |