diff options
author | James Fargher <jfargher@gitlab.com> | 2022-04-06 01:45:52 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2022-04-29 02:14:24 +0300 |
commit | 3d274cc65dea5022f1610f8013401f6bca0bef23 (patch) | |
tree | 260ad77363f1c90188630c111d7fea27fcca8c6f /proto/errors.proto | |
parent | 317c59fc930dee8ce68d39cb798460b760bde46b (diff) |
Automatically lint proto files
Diffstat (limited to 'proto/errors.proto')
-rw-r--r-- | proto/errors.proto | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/proto/errors.proto b/proto/errors.proto index 101c58bf7..335c78ace 100644 --- a/proto/errors.proto +++ b/proto/errors.proto @@ -2,10 +2,10 @@ syntax = "proto3"; package gitaly; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; - import "google/protobuf/duration.proto"; +option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; + // AccessCheckError is an error returned by GitLab's `/internal/allowed` // endpoint. message AccessCheckError { @@ -48,9 +48,9 @@ message ResolveRevisionError { // LimitError is an error returned when Gitaly enforces request limits. message LimitError { - // ErrorMessage provides context into why a limit was enforced. - string error_message = 1; - // RetryAfter provides the duration after which a retry is safe. - // 0 indicates non-retryable. - google.protobuf.Duration retry_after = 2; + // ErrorMessage provides context into why a limit was enforced. + string error_message = 1; + // RetryAfter provides the duration after which a retry is safe. + // 0 indicates non-retryable. + google.protobuf.Duration retry_after = 2; } |