From 94b9e13431dee18a7ba6c1265a868d5e6363b7e2 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 5 May 2022 11:20:23 +0300 Subject: [PATCH] [#1328] services/tree: Fix proto field numbers Signed-off-by: Evgenii Stratonikov --- pkg/services/tree/service.pb.go | Bin 83819 -> 83904 bytes pkg/services/tree/service_grpc.pb.go | Bin 13171 -> 13171 bytes pkg/services/tree/types.pb.go | Bin 9666 -> 9666 bytes pkg/services/tree/types.proto | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/tree/service.pb.go b/pkg/services/tree/service.pb.go index 5f0afdb9a21591e6b7d1931ef8aa65caed140a88..6a58fd550146c35f0330ee8ad8d9ba9180ffc10d 100644 GIT binary patch delta 119 zcmaFe$9kZjbwVzSk%6A!#=@hs6ZG{J{0mAl^YapO6jD+PN-`Ak(-cZFQWZ*y63bGH ziW7766rxg#@)dGZ6Z47{ic(8Ti}Dom^KvQ`it_VI^td>ICio^+WagIULJi0)RxmUG OO1OZG+w3?;Yc&8jPeuSc!3O34 diff --git a/pkg/services/tree/types.pb.go b/pkg/services/tree/types.pb.go index d72370c65314e50be4e067b31119f1084397413b..0a2dfb087f06ce7ceaf582de181cbdababe95512 100644 GIT binary patch delta 65 zcmV-H0KWgiOTtT#Z3HqfE-|rjF9-oKlc5NnlY0XTlS&C<0W-6$2?h<5su&oP?iUP` X*A{J)vlbYWTo-ziL>Cyd?ibVz;L{f8 delta 65 zcmX@)eaL%4E{mb1p2@~SeGW#W$qPB=F&a;H;LKq(*}RsMjd!w(xWwdl;yjbDi{(zf V24u&GS23DQmXj3U{7(D|F969!71;m) diff --git a/pkg/services/tree/types.proto b/pkg/services/tree/types.proto index 420fa4df..546985c0 100644 --- a/pkg/services/tree/types.proto +++ b/pkg/services/tree/types.proto @@ -13,11 +13,11 @@ message KeyValue { // LogMove represents log-entry for a single move operation. message LogMove { // ID of the parent node. - uint64 parent_id = 2 [json_name = "parentID"]; + uint64 parent_id = 1 [json_name = "parentID"]; // Node meta information, including operation timestamp. - bytes meta = 3 [json_name = "meta"]; + bytes meta = 2 [json_name = "meta"]; // ID of the node to move. - uint64 child_id = 4 [json_name = "childID"]; + uint64 child_id = 3 [json_name = "childID"]; } // Signature of a message.