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:
authorJames Fargher <jfargher@gitlab.com>2022-04-06 01:45:52 +0300
committerJames Fargher <jfargher@gitlab.com>2022-04-29 02:14:24 +0300
commit3d274cc65dea5022f1610f8013401f6bca0bef23 (patch)
tree260ad77363f1c90188630c111d7fea27fcca8c6f /proto/errors.proto
parent317c59fc930dee8ce68d39cb798460b760bde46b (diff)
Automatically lint proto files
Diffstat (limited to 'proto/errors.proto')
-rw-r--r--proto/errors.proto14
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;
}