diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-12-13 14:23:07 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-12-13 14:24:53 +0300 |
commit | 4e87834268b281710bbe9c178589c15215a07320 (patch) | |
tree | 54b376a4b2d1be4c9a984f69fbcbc437cbeba629 /proto/objectpool.proto | |
parent | cf32d208912de9dfbfdd4baab42655baf82bfce5 (diff) |
proto: Fix deprecation marking wrong ObjectPoolService RPC as deprecated
We've recently deprecated the `ReduplicateRepository` RPC. And while we
have added the `option deprecated = true` option to the correct RPC, the
comment documenting the deprecation was by accident applied to the wrong
RPC.
Fix this by moving over the comment.
Diffstat (limited to 'proto/objectpool.proto')
-rw-r--r-- | proto/objectpool.proto | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/objectpool.proto b/proto/objectpool.proto index 58ab461d3..c7b204b0e 100644 --- a/proto/objectpool.proto +++ b/proto/objectpool.proto @@ -61,7 +61,8 @@ service ObjectPoolService { // does not depend on the pool member anymore and can be removed from it. Note that this function // is not safe for use. // - // This RPC is deprecated. Please use DisconnectGitAlternates instead. + // This RPC is deprecated. Please use DisconnectGitAlternates instead. It will be removed in + // Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. rpc ReduplicateRepository(ReduplicateRepositoryRequest) returns (ReduplicateRepositoryResponse) { option deprecated = true; option (op_type) = { @@ -82,8 +83,7 @@ service ObjectPoolService { // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // - // This RPC does not return an error in case the repository is not linked to any object pool. It - // will be removed in Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. + // This RPC does not return an error in case the repository is not linked to any object pool. rpc DisconnectGitAlternates(DisconnectGitAlternatesRequest) returns (DisconnectGitAlternatesResponse) { option (op_type) = { op: MUTATOR |