Commit 1ec2accf authored by Shinya Maeda's avatar Shinya Maeda

Remove FF ci_resource_group

This commit removes the FF
parent d58353db
...@@ -486,8 +486,7 @@ module Ci ...@@ -486,8 +486,7 @@ module Ci
end end
def requires_resource? def requires_resource?
Feature.enabled?(:ci_resource_group, project, default_enabled: true) && self.resource_group_id.present?
self.resource_group_id.present?
end end
def has_environment? def has_environment?
......
...@@ -16,7 +16,6 @@ module Gitlab ...@@ -16,7 +16,6 @@ module Gitlab
end end
def to_resource def to_resource
return unless Feature.enabled?(:ci_resource_group, build.project, default_enabled: true)
return unless resource_group_key.present? return unless resource_group_key.present?
resource_group = build.project.resource_groups resource_group = build.project.resource_groups
......
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