From ea19614275be8fd95406e467d0f61cde41605d73 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 2 Aug 2023 10:54:37 +0300 Subject: [PATCH] [#136] pool: Set order field to get subtree With new revision of tree service protocol, getSubTree requires to use explicit order field. Signed-off-by: Alex Vanin --- pool/tree/pool.go | 3 +++ pool/tree/service/service.pb.go | Bin 118702 -> 124265 bytes pool/tree/service/service_grpc.pb.go | Bin 19139 -> 19139 bytes pool/tree/service/types.pb.go | Bin 9911 -> 9911 bytes syncTree.sh | 2 +- 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pool/tree/pool.go b/pool/tree/pool.go index 7fca21b..a9adb01 100644 --- a/pool/tree/pool.go +++ b/pool/tree/pool.go @@ -368,6 +368,9 @@ func (p *Pool) GetSubTree(ctx context.Context, prm GetSubTreeParams) (*SubTreeRe RootId: prm.RootID, Depth: prm.Depth, BearerToken: prm.BearerToken, + OrderBy: &grpcService.GetSubTreeRequest_Body_Order{ + Direction: grpcService.GetSubTreeRequest_Body_Order_Asc, + }, }, } diff --git a/pool/tree/service/service.pb.go b/pool/tree/service/service.pb.go index 08664a6d050d1d1618603d7179be6cb5c0331368..63f3e714a2578d648309f46e53a12d3eda9f61f0 100644 GIT binary patch delta 7220 zcmai333QZImOeM3R+11RWC0V3AW)Trkk8{96d zwIWbm-(a&_Ey6hzYYl4M9;g->L-DbrHs#qgU2|-3sj$AnCbXfr^dC@lS{+tvMuu%( zb>n*5eZF;#e%pFqO}(uuP$#z}T)QRRdY`W@>;1Mo39(%HzOufdZcX() z4_Yl2E!UO|pZ&>ccyQtYZpqIry0dqT!qUCb!E~6F3R8mVNVzsmf+?h2o6V`v5KmQO zb%o8|Bm;=Q7S^FcwL8S|)A5PdF4}-yW6RC6Rr~L^OR`5%=CE2)Y7k+Q)l%ngXsoNY z)mU3bSd6|FR5)kaizL5`6&EE{_NMf?{`!i#H8l-^I=dsyR#O+iCx6vCq&;0~-rl(W zZhxJ<$>F#HF5St!7TaOF8f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4b8ffede55ba1be372d6be35..2c0828951aea66870e38f68316b12ef987686967 100644 GIT binary patch delta 17 ZcmX>+mGSUY#tAD~j12WGH?9@)0suep26zAf delta 17 ZcmX>+mGSUY#tAD~42|?mHm()(0sueP26F%a diff --git a/pool/tree/service/types.pb.go b/pool/tree/service/types.pb.go index 45d889177d01f3b6c8ed8b3959d5e7dcd24c4ed9..b4d6981ef92d8434e0d3ffa6370d8cb860db9ce4 100644 GIT binary patch delta 15 Wcmdn)yWMxf5*8yvJ