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-01-17 14:47:57 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-01-21 09:59:35 +0300
commit8f703c99680d308506ca8b074b31a4162b409a3a (patch)
tree6c2144d2c1250411094800c07b3e9dd811618d5f /proto/operations.proto
parent2f651272902fbac0aa82f1fbd468fd5d17809f6d (diff)
proto: Add detailed errors when updating references fails
It is not possible for RPC clients to tell when RPCs have failed to update a reference. Add a new error detail type which represents such failures to prepare for passing down this information. Changelog: added
Diffstat (limited to 'proto/operations.proto')
-rw-r--r--proto/operations.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/operations.proto b/proto/operations.proto
index f3f41f65a..ab480d17d 100644
--- a/proto/operations.proto
+++ b/proto/operations.proto
@@ -257,6 +257,9 @@ message UserMergeBranchError {
oneof error {
// AccessCheckError is set if the RPC failed because `/internal/allowed` failed.
AccessCheckError access_check = 1;
+ // ReferenceUpdateError is set if the RPC failed because updating the
+ // reference to the new object ID has failed.
+ ReferenceUpdateError reference_update = 2;
}
}