Commit face1999 authored by Jan Provaznik's avatar Jan Provaznik Committed by Sean McGivern

Fix auto_cancel_pending_pipelines check

parent ee62f1b3
...@@ -2019,6 +2019,10 @@ class Project < ActiveRecord::Base ...@@ -2019,6 +2019,10 @@ class Project < ActiveRecord::Base
end end
request_cache(:any_lfs_file_locks?) { self.id } request_cache(:any_lfs_file_locks?) { self.id }
def auto_cancel_pending_pipelines?
auto_cancel_pending_pipelines == 'enabled'
end
private private
def storage def storage
......
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