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:
authorJames Liu <jliu@gitlab.com>2023-12-14 03:55:36 +0300
committerJames Liu <jliu@gitlab.com>2024-01-17 01:13:13 +0300
commita9b8db1b0894b1d613c77b2736409563199d5e62 (patch)
tree6e02906583e60fbf1ff73b7b661abcfa4c4afa15 /internal/praefect/remove_all_test.go
parentbdb0fb1e75db19747c4e9fd84f5fa4bec6d9faa7 (diff)
proto: Deprecate RemoveAll
Now that we've adjusted the restore mechanism to delete individual repos as needed, this RPC is no longer required. See the following issues for more context: - https://gitlab.com/gitlab-org/gitaly/-/issues/5357 - https://gitlab.com/gitlab-org/gitaly/-/issues/5269 Changelog: deprecated
Diffstat (limited to 'internal/praefect/remove_all_test.go')
-rw-r--r--internal/praefect/remove_all_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/praefect/remove_all_test.go b/internal/praefect/remove_all_test.go
index 965ffb95b..6b5e6f848 100644
--- a/internal/praefect/remove_all_test.go
+++ b/internal/praefect/remove_all_test.go
@@ -96,6 +96,7 @@ Issue: https://gitlab.com/gitlab-org/gitaly/-/issues/5269`)
_, err = client.RepositorySize(ctx, &gitalypb.RepositorySizeRequest{Repository: &gitalypb.Repository{}})
testhelper.RequireGrpcError(t, errServedByGitaly, err)
+ //nolint:staticcheck
resp, err := client.RemoveAll(ctx, &gitalypb.RemoveAllRequest{StorageName: virtualStorage})
require.NoError(t, err)