[#136] pool: Set order field to get subtree
All checks were successful
DCO / DCO (pull_request) Successful in 44s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m26s
Tests and linters / Tests (1.19) (pull_request) Successful in 6m12s
Tests and linters / Lint (pull_request) Successful in 6m59s

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
parent 13d0b170d2
commit ea19614275
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}"