[#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 <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2023-08-02 10:54:37 +03:00 committed by Alexey Vanin
parent 95b987b818
commit 363f153eaf
5 changed files with 4 additions and 1 deletions

View file

@ -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,
},
},
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,6 @@
#!/bin/bash
REVISION="f07d4158f50ed5c7f44cc0bc224c3d03edf27f3b"
REVISION="b3695411d907c3c65485bab04f9ff8479a72906b"
echo "tree service revision ${REVISION}"