diff options
Diffstat (limited to 'app/workers/merge_request_cleanup_refs_worker.rb')
-rw-r--r-- | app/workers/merge_request_cleanup_refs_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/merge_request_cleanup_refs_worker.rb b/app/workers/merge_request_cleanup_refs_worker.rb index 27bd5774b8d..db6f4649f47 100644 --- a/app/workers/merge_request_cleanup_refs_worker.rb +++ b/app/workers/merge_request_cleanup_refs_worker.rb @@ -18,7 +18,7 @@ class MergeRequestCleanupRefsWorker FAILURE_THRESHOLD = 3 def perform_work - return unless Feature.enabled?(:merge_request_refs_cleanup, default_enabled: false) + return unless Feature.enabled?(:merge_request_refs_cleanup) unless merge_request logger.error('No existing merge request to be cleaned up.') |