diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-08-01 12:03:32 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-08-01 12:03:32 +0300 |
commit | d87c743565a993868ea6a3578e68fbca04aa33c5 (patch) | |
tree | 6e0a49794b559cc8a843ab042f492d8574fecee8 /ruby/proto | |
parent | 2720ae51a9acae55951c54268649a5cd0e2fa5ba (diff) |
proto: Fix definition of FindTagError
The definition of the FindTagError we have just introduced in c6e1eb148
(proto: Introduce FindTagError to distinguish non-existent tags,
2022-07-29) was mistakenly missing the `oneof` definition. The error is
not yet used by anything, so let's correct it before we do grow any
callers.
Diffstat (limited to 'ruby/proto')
-rw-r--r-- | ruby/proto/gitaly/ref_pb.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb index 72aa78039..dbedb6a92 100644 --- a/ruby/proto/gitaly/ref_pb.rb +++ b/ruby/proto/gitaly/ref_pb.rb @@ -74,7 +74,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :tag, :message, 1, "gitaly.Tag" end add_message "gitaly.FindTagError" do - optional :tag_not_found, :message, 1, "gitaly.ReferenceNotFoundError" + oneof :error do + optional :tag_not_found, :message, 1, "gitaly.ReferenceNotFoundError" + end end add_message "gitaly.FindAllTagsRequest" do optional :repository, :message, 1, "gitaly.Repository" |