diff options
Diffstat (limited to 'app/models/ci/processable.rb')
-rw-r--r-- | app/models/ci/processable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/processable.rb b/app/models/ci/processable.rb index 00931d7e758..482d061c7cf 100644 --- a/app/models/ci/processable.rb +++ b/app/models/ci/processable.rb @@ -83,7 +83,7 @@ module Ci # Overriding scheduling_type enum's method for nil `scheduling_type`s def scheduling_type_dag? - super || find_legacy_scheduling_type == :dag + scheduling_type.nil? ? find_legacy_scheduling_type == :dag : super end # scheduling_type column of previous builds/bridges have not been populated, |