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

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2023-07-17 12:41:45 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2023-07-17 12:41:45 +0300
commit04eb0895567935a8aa77d4d74fc2ae36f029bc67 (patch)
tree77d50a0f6e6e059a1a5ff5b66b256d809bf167bd
parent819afd3bed12378af487876e925f499b2b1dcc67 (diff)
parent6e70f16847bb3294a9599ee5ce7b0ea0263199b7 (diff)
Merge branch 'default-enable-configurable-root' into 'master'
Set ConfigurableRoot to default enabled See merge request https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/890 Merged-by: Alessio Caiazza <acaiazza@gitlab.com> Approved-by: Kassio Borges <kborges@gitlab.com> Approved-by: Alessio Caiazza <acaiazza@gitlab.com> Co-authored-by: Janis Altherr <jaltherr@gitlab.com>
-rw-r--r--internal/feature/feature.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/feature/feature.go b/internal/feature/feature.go
index c9df43aa..ebf257c1 100644
--- a/internal/feature/feature.go
+++ b/internal/feature/feature.go
@@ -22,7 +22,8 @@ var HandleReadErrors = Feature{
// ConfigurableRoot enables a project's root directory to be customized using
// the GitLab API
var ConfigurableRoot = Feature{
- EnvVariable: "FF_CONFIGURABLE_ROOT_DIR",
+ EnvVariable: "FF_CONFIGURABLE_ROOT_DIR",
+ defaultEnabled: true,
}
// Enabled reads the environment variable responsible for the feature flag