Commit 6ff13622 authored by Jan Provaznik's avatar Jan Provaznik Committed by Sean McGivern
Browse files

Fix auto_cancel_pending_pipelines check

parent 087b0a0c426a
...@@ -2019,6 +2019,10 @@ def any_lfs_file_locks? ...@@ -2019,6 +2019,10 @@ def any_lfs_file_locks?
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