From 5cca1fd469bfc7b83c2d982dc924ac7aca2a370b Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 5 Aug 2020 20:10:04 +0300 Subject: [PATCH] [#32] accounting: Remove gogoproto from typedef There is a need to remove gogoproto usage from NeoFS API since this plugin is not cross-language. This commit removes usage from BalanceRequest message. Signed-off-by: Leonard Lyubich --- accounting/service.proto | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/accounting/service.proto b/accounting/service.proto index afabeb1..2f8e1c8 100644 --- a/accounting/service.proto +++ b/accounting/service.proto @@ -7,9 +7,6 @@ import "service/meta.proto"; import "service/verify.proto"; import "decimal/decimal.proto"; import "refs/types.proto"; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; - -option (gogoproto.stable_marshaler_all) = true; // Accounting is a service that provides access for accounting balance // information @@ -22,9 +19,9 @@ message BalanceRequest { // OwnerID carries user identifier in NeoFS system. refs.OwnerID OwnerID = 1; // RequestMetaHeader contains information about request meta headers (should be embedded into message) - service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + service.RequestMetaHeader Meta = 98; // RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message) - service.RequestVerificationHeader Verify = 99 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + service.RequestVerificationHeader Verify = 99; } message BalanceResponse {