From 0f369fbcc905def3a2e744afb77b5ea4a336b0a2 Mon Sep 17 00:00:00 2001 From: Rob Shakir Date: Wed, 11 Jan 2023 10:20:31 -0800 Subject: [PATCH] Update generated protobufs. (#85) * Update generated protobufs. * Use authentication key for installing protobuf. --- .github/workflows/genproto.yml | 1 + .github/workflows/go.yml | 1 + v1/proto/gribi_aft/gribi_aft.pb.go | 6 +++--- v1/proto/service/gribi.pb.go | 7 ++++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/genproto.yml b/.github/workflows/genproto.yml index 8c30f3b..44f3636 100644 --- a/.github/workflows/genproto.yml +++ b/.github/workflows/genproto.yml @@ -17,6 +17,7 @@ jobs: uses: arduino/setup-protoc@v1 with: version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Go uses: actions/setup-go@v2 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1b8333e..9a634d9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,7 @@ jobs: uses: arduino/setup-protoc@v1 with: version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Go uses: actions/setup-go@v2 diff --git a/v1/proto/gribi_aft/gribi_aft.pb.go b/v1/proto/gribi_aft/gribi_aft.pb.go index 4bf4809..e1fb8c5 100644 --- a/v1/proto/gribi_aft/gribi_aft.pb.go +++ b/v1/proto/gribi_aft/gribi_aft.pb.go @@ -1768,7 +1768,7 @@ var file_v1_proto_gribi_aft_gribi_aft_proto_rawDesc = []byte{ 0x2e, 0x67, 0x72, 0x69, 0x62, 0x69, 0x5f, 0x61, 0x66, 0x74, 0x2e, 0x41, 0x66, 0x74, 0x73, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x4d, 0x70, 0x6c, 0x73, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x55, - 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x3a, 0x90, 0x41, 0x01, 0x82, 0x41, 0x34, 0x2f, 0x61, 0x66, 0x74, + 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x3a, 0xe0, 0x49, 0x01, 0x82, 0x41, 0x34, 0x2f, 0x61, 0x66, 0x74, 0x73, 0x2f, 0x6d, 0x70, 0x6c, 0x73, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2d, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x2d, 0x6d, 0x70, 0x6c, 0x73, 0x2d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, @@ -1928,8 +1928,8 @@ var file_v1_proto_gribi_aft_gribi_aft_proto_rawDesc = []byte{ 0x18, 0xd4, 0xae, 0xba, 0xe9, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x69, 0x62, 0x69, 0x5f, 0x61, 0x66, 0x74, 0x2e, 0x41, 0x66, 0x74, 0x73, 0x2e, 0x4e, 0x65, 0x78, 0x74, 0x48, 0x6f, 0x70, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x4d, 0x70, 0x6c, 0x73, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x3c, 0x90, - 0x41, 0x01, 0x82, 0x41, 0x36, 0x2f, 0x61, 0x66, 0x74, 0x73, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x2d, + 0x62, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x3c, 0xe0, + 0x49, 0x01, 0x82, 0x41, 0x36, 0x2f, 0x61, 0x66, 0x74, 0x73, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x2d, 0x68, 0x6f, 0x70, 0x73, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x2d, 0x68, 0x6f, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x75, 0x73, 0x68, 0x65, 0x64, 0x2d, 0x6d, 0x70, 0x6c, 0x73, 0x2d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x14, 0x70, 0x75, 0x73, diff --git a/v1/proto/service/gribi.pb.go b/v1/proto/service/gribi.pb.go index dbb36b9..30b1a06 100644 --- a/v1/proto/service/gribi.pb.go +++ b/v1/proto/service/gribi.pb.go @@ -207,7 +207,7 @@ const ( // // In cases where the FIB was meant to be programmed, but an error // code was received from the underlying hardware abstraction layer - // the FAILED error code is returned. + // the FIB_FAILED error code is returned. AFTResult_FIB_PROGRAMMED AFTResult_Status = 4 // FIB_FAILED indicates that the received operation failed FIB // programming. It is used when the operation has been accepted by @@ -1204,7 +1204,7 @@ type AFTResult struct { // // The timestamp is expressed as nanoseconds since the Unix Epoch in UTC. Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Contains error details if status is FAILED. + // Contains error details if status is FAILED or FIB_FAILED. ErrorDetails *AFTErrorDetails `protobuf:"bytes,4,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` } @@ -1274,7 +1274,8 @@ type AFTErrorDetails struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Human-readable error message in the case that status is FAILED. + // Human-readable error message in the case that status is FAILED + // or FIB_FAILED. ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` }