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/server.proto | |
parent | 317c59fc930dee8ce68d39cb798460b760bde46b (diff) |
Automatically lint proto files
Diffstat (limited to 'proto/server.proto')
-rw-r--r-- | proto/server.proto | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/proto/server.proto b/proto/server.proto index 7a6140222..35be64925 100644 --- a/proto/server.proto +++ b/proto/server.proto @@ -2,10 +2,10 @@ syntax = "proto3"; package gitaly; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; - import "lint.proto"; +option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; + service ServerService { option (intercepted) = true; @@ -16,7 +16,8 @@ service ServerService { rpc ClockSynced(ClockSyncedRequest) returns (ClockSyncedResponse) {} } -message ServerInfoRequest {} +message ServerInfoRequest { +} message ServerInfoResponse { message StorageStatus { @@ -33,12 +34,13 @@ message ServerInfoResponse { repeated StorageStatus storage_statuses = 3; } -message DiskStatisticsRequest {} +message DiskStatisticsRequest { +} message DiskStatisticsResponse { message StorageStatus { -// When both available and used fields are equal 0 that means that -// Gitaly was unable to determine storage stats. + // When both available and used fields are equal 0 that means that + // Gitaly was unable to determine storage stats. string storage_name = 1; int64 available = 2; int64 used = 3; |