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 'config/object_store_settings.rb')
-rw-r--r--config/object_store_settings.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/object_store_settings.rb b/config/object_store_settings.rb
index 4e8e950c797..283cd952c04 100644
--- a/config/object_store_settings.rb
+++ b/config/object_store_settings.rb
@@ -2,19 +2,19 @@
# Set default values for object_store settings
class ObjectStoreSettings
- SUPPORTED_TYPES = %w(artifacts external_diffs lfs uploads packages dependency_proxy terraform_state pages).freeze
- ALLOWED_OBJECT_STORE_OVERRIDES = %w(bucket enabled proxy_download cdn).freeze
+ SUPPORTED_TYPES = %w[artifacts external_diffs lfs uploads packages dependency_proxy terraform_state pages].freeze
+ ALLOWED_OBJECT_STORE_OVERRIDES = %w[bucket enabled proxy_download cdn].freeze
# To ensure the one Workhorse credential matches the Rails config, we
# enforce consolidated settings on those accelerated
# endpoints. Technically dependency_proxy and terraform_state fall
# into this category, but they will likely be handled by Workhorse in
# the future.
- WORKHORSE_ACCELERATED_TYPES = SUPPORTED_TYPES - %w(pages)
+ WORKHORSE_ACCELERATED_TYPES = SUPPORTED_TYPES - %w[pages]
# pages may be enabled but use legacy disk storage
# we don't need to raise an error in that case
- ALLOWED_INCOMPLETE_TYPES = %w(pages).freeze
+ ALLOWED_INCOMPLETE_TYPES = %w[pages].freeze
attr_accessor :settings