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:
authorjanis <jaltherr@gitlab.com>2023-10-18 10:35:46 +0300
committerjanis <jaltherr@gitlab.com>2023-10-18 14:59:27 +0300
commit23326003ee92ad2a0ab924a467fc21e5d4c93c35 (patch)
treeb76e3b9356e20027e4312ef8c61d757dc60d1c6e /internal/vfs
parentc49dde9aa5b72e8b9e0f70fd4d16d4e8eb095d9c (diff)
Remove FF_CONFIGURABLE_ROOT_DIR Feature Flag
Diffstat (limited to 'internal/vfs')
-rw-r--r--internal/vfs/zip/archive.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/vfs/zip/archive.go b/internal/vfs/zip/archive.go
index 373e9818..fb13d100 100644
--- a/internal/vfs/zip/archive.go
+++ b/internal/vfs/zip/archive.go
@@ -9,14 +9,12 @@ import (
"os"
"path"
"strconv"
- "strings"
"sync"
"sync/atomic"
"time"
"gitlab.com/gitlab-org/labkit/log"
- "gitlab.com/gitlab-org/gitlab-pages/internal/feature"
"gitlab.com/gitlab-org/gitlab-pages/internal/httprange"
"gitlab.com/gitlab-org/gitlab-pages/internal/vfs"
"gitlab.com/gitlab-org/gitlab-pages/metrics"
@@ -145,10 +143,6 @@ func (a *zipArchive) readArchive(url string) {
// TODO: Improve preprocessing of zip archives https://gitlab.com/gitlab-org/gitlab-pages/-/issues/432
for _, file := range archive.File {
- if !feature.ConfigurableRoot.Enabled() && !strings.HasPrefix(file.Name, dirPrefix) {
- continue
- }
-
// Each Modified timestamp contains a pointer to a unique timezone
// object. This wastes a lot of memory. By setting the timezone to UTC on
// each timestamp, we allow the unique timezone objects to be