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>2022-09-28 10:47:37 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-09-29 10:14:14 +0300
commit0b592721167958644e3ef2ad09ab628d7c19d285 (patch)
tree542dbcce42699bdb38103fc964fbdb7ba9ab6d1a
parentff6d8aa1acac9c936dec73e9c644d29e6c5b22c1 (diff)
proto: Set removal date for deprecated UserDeleteBranch embedded error
While the embedded error in the UserDeleteBranchResponse message has been deprecated already, there is no information when the field will be removed. Add it so we don't forget to clean it up.
-rw-r--r--proto/go/gitalypb/operations.pb.go2
-rw-r--r--proto/operations.proto2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go
index f0aa943b8..c9e0c40bb 100644
--- a/proto/go/gitalypb/operations.pb.go
+++ b/proto/go/gitalypb/operations.pb.go
@@ -616,7 +616,7 @@ type UserDeleteBranchResponse struct {
unknownFields protoimpl.UnknownFields
// PreReceiveError is never set anymore. This RPC will instead return a UserDeleteBranchError for
- // a subset of well-defined error cases.
+ // a subset of well-defined error cases. This field will be removed in v16.0.
//
// Deprecated: Do not use.
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
diff --git a/proto/operations.proto b/proto/operations.proto
index b4a8ac4d1..f245e93f8 100644
--- a/proto/operations.proto
+++ b/proto/operations.proto
@@ -233,7 +233,7 @@ message UserDeleteBranchRequest {
// UserDeleteBranchResponse is a response for the UserDeleteBranch RPC.
message UserDeleteBranchResponse {
// PreReceiveError is never set anymore. This RPC will instead return a UserDeleteBranchError for
- // a subset of well-defined error cases.
+ // a subset of well-defined error cases. This field will be removed in v16.0.
string pre_receive_error = 1 [deprecated=true];
}