Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/ci/pipeline_basic_with_metadata.rb')
-rw-r--r--lib/api/entities/ci/pipeline_basic_with_metadata.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/entities/ci/pipeline_basic_with_metadata.rb b/lib/api/entities/ci/pipeline_basic_with_metadata.rb
index 4eeba3aec41..a352da05b2d 100644
--- a/lib/api/entities/ci/pipeline_basic_with_metadata.rb
+++ b/lib/api/entities/ci/pipeline_basic_with_metadata.rb
@@ -5,8 +5,7 @@ module API
module Ci
class PipelineBasicWithMetadata < PipelineBasic
expose :name,
- documentation: { type: 'string', example: 'Build pipeline' },
- if: ->(pipeline, _) { ::Feature.enabled?(:pipeline_name_in_api, pipeline.project) }
+ documentation: { type: 'string', example: 'Build pipeline' }
end
end
end