Commit 9a9d78b8 authored by Marc Shaw's avatar Marc Shaw

Merge branch '353291-enabled-by-default' into 'master'

Enable `container_registry_follow_redirects_middleware` by default

See merge request gitlab-org/gitlab!82614
parents 387a8d04 ffb76974
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/353291 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/353291
milestone: '14.9' milestone: '14.9'
type: development type: development
group: group::package group: group::package
default_enabled: false default_enabled: true
...@@ -152,7 +152,7 @@ module ContainerRegistry ...@@ -152,7 +152,7 @@ module ContainerRegistry
@faraday_blob ||= faraday_base do |conn| @faraday_blob ||= faraday_base do |conn|
initialize_connection(conn, @options) initialize_connection(conn, @options)
if Feature.enabled?(:container_registry_follow_redirects_middleware) if Feature.enabled?(:container_registry_follow_redirects_middleware, default_enabled: :yaml)
conn.use ::FaradayMiddleware::FollowRedirects, REDIRECT_OPTIONS conn.use ::FaradayMiddleware::FollowRedirects, REDIRECT_OPTIONS
end end
end end
......
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