[#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:
parent
95b987b818
commit
363f153eaf
5 changed files with 4 additions and 1 deletions
|
@ -368,6 +368,9 @@ func (p *Pool) GetSubTree(ctx context.Context, prm GetSubTreeParams) (*SubTreeRe
|
||||||
RootId: prm.RootID,
|
RootId: prm.RootID,
|
||||||
Depth: prm.Depth,
|
Depth: prm.Depth,
|
||||||
BearerToken: prm.BearerToken,
|
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.
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
REVISION="f07d4158f50ed5c7f44cc0bc224c3d03edf27f3b"
|
REVISION="b3695411d907c3c65485bab04f9ff8479a72906b"
|
||||||
|
|
||||||
echo "tree service revision ${REVISION}"
|
echo "tree service revision ${REVISION}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue