diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-09-28 10:47:37 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-09-28 11:10:10 +0300 |
commit | 4679bc40e069891572c7a150b2aa535af328a16a (patch) | |
tree | 542dbcce42699bdb38103fc964fbdb7ba9ab6d1a | |
parent | e99eb908ff8f670e8a80513b0d72b46b64eca949 (diff) |
proto: Set removal date for deprecated UserDeleteBranch embedded errorpks-proto-deprecations-for-errors-in-responses
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.go | 2 | ||||
-rw-r--r-- | proto/operations.proto | 2 |
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]; } |