Merge branch 'rails5-enum-pipeline-check' into 'master'
Fix auto_cancel_pending_pipelines check Closes #47834 See merge request gitlab-org/gitlab-ce!19820
This commit is contained in:
commit
d07e16faa7
1 changed files with 4 additions and 0 deletions
|
@ -2019,6 +2019,10 @@ class Project < ActiveRecord::Base
|
|||
end
|
||||
request_cache(:any_lfs_file_locks?) { self.id }
|
||||
|
||||
def auto_cancel_pending_pipelines?
|
||||
auto_cancel_pending_pipelines == 'enabled'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def storage
|
||||
|
|
Loading…
Reference in a new issue