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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-05-15 16:18:13 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-05-16 11:05:56 +0300
commit677ffa0b12e04f7e6f14861d8476125061eb1546 (patch)
tree904b5fff0d7b77a2961df623d3fcf89ac1c5da78 /internal/cache
parent1c07f376fd1f9798d59f7d6f3c68a7a5a87904f7 (diff)
featureflag: Move into standalone package
The feature flag logic is currently hosted inside of `internal/metadata/featureflag`. And while they do have something to do with metadata, they really are a standalone concept. Move the package to `internal/featureflag` to reflect this.
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/diskcache_test.go2
-rw-r--r--internal/cache/keyer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/cache/diskcache_test.go b/internal/cache/diskcache_test.go
index ec19ddd9b..2db13ecde 100644
--- a/internal/cache/diskcache_test.go
+++ b/internal/cache/diskcache_test.go
@@ -9,9 +9,9 @@ import (
promtest "github.com/prometheus/client_golang/prometheus/testutil"
"github.com/stretchr/testify/require"
+ "gitlab.com/gitlab-org/gitaly/v16/internal/featureflag"
"gitlab.com/gitlab-org/gitaly/v16/internal/git/gittest"
"gitlab.com/gitlab-org/gitaly/v16/internal/gitaly/config"
- "gitlab.com/gitlab-org/gitaly/v16/internal/metadata/featureflag"
"gitlab.com/gitlab-org/gitaly/v16/internal/testhelper"
"gitlab.com/gitlab-org/gitaly/v16/internal/testhelper/testcfg"
"gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb"
diff --git a/internal/cache/keyer.go b/internal/cache/keyer.go
index 609867750..db9620b23 100644
--- a/internal/cache/keyer.go
+++ b/internal/cache/keyer.go
@@ -15,9 +15,9 @@ import (
"github.com/google/uuid"
"github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus"
+ "gitlab.com/gitlab-org/gitaly/v16/internal/featureflag"
"gitlab.com/gitlab-org/gitaly/v16/internal/gitaly/storage"
"gitlab.com/gitlab-org/gitaly/v16/internal/helper/perm"
- "gitlab.com/gitlab-org/gitaly/v16/internal/metadata/featureflag"
"gitlab.com/gitlab-org/gitaly/v16/internal/safe"
"gitlab.com/gitlab-org/gitaly/v16/internal/version"
"gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb"