diff options
Diffstat (limited to 'app/models/concerns/ci/has_status.rb')
-rw-r--r-- | app/models/concerns/ci/has_status.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/models/concerns/ci/has_status.rb b/app/models/concerns/ci/has_status.rb index cca66c3ec94..721cb14201f 100644 --- a/app/models/concerns/ci/has_status.rb +++ b/app/models/concerns/ci/has_status.rb @@ -23,11 +23,9 @@ module Ci UnknownStatusError = Class.new(StandardError) class_methods do - # The parameter `project` is only used for the feature flag check, and will be removed with - # https://gitlab.com/gitlab-org/gitlab/-/issues/321972 - def composite_status(project: nil) + def composite_status Gitlab::Ci::Status::Composite - .new(all, with_allow_failure: columns_hash.key?('allow_failure'), project: project) + .new(all, with_allow_failure: columns_hash.key?('allow_failure')) .status end |