diff options
Diffstat (limited to 'internal/gitaly/service/operations/server.go')
-rw-r--r-- | internal/gitaly/service/operations/server.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/internal/gitaly/service/operations/server.go b/internal/gitaly/service/operations/server.go index 24f959198..7ffe24f2d 100644 --- a/internal/gitaly/service/operations/server.go +++ b/internal/gitaly/service/operations/server.go @@ -16,7 +16,6 @@ import ( "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) @@ -61,14 +60,8 @@ func (s *Server) localrepo(repo repository.GitRepo) *localrepo.Repo { } func (s *Server) quarantinedRepo( - ctx context.Context, repo *gitalypb.Repository, flags ...featureflag.FeatureFlag, + ctx context.Context, repo *gitalypb.Repository, ) (*quarantine.Dir, *localrepo.Repo, error) { - for _, flag := range flags { - if flag.IsDisabled(ctx) { - return nil, s.localrepo(repo), nil - } - } - quarantineDir, err := quarantine.New(ctx, repo, s.locator) if err != nil { return nil, nil, helper.ErrInternalf("creating object quarantine: %w", err) |