forked from TrueCloudLab/frostfs-node
[#1404] services/tree: Fix nodeId in GetSubTree
Signed-off-by: Denis Kirillov <denis@nspcc.ru> Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
45321b3f6d
commit
b30f14978d
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ func (s *Service) GetSubTree(req *GetSubTreeRequest, srv TreeService_GetSubTreeS
|
||||||
}
|
}
|
||||||
err = srv.Send(&GetSubTreeResponse{
|
err = srv.Send(&GetSubTreeResponse{
|
||||||
Body: &GetSubTreeResponse_Body{
|
Body: &GetSubTreeResponse_Body{
|
||||||
NodeId: b.GetRootId(),
|
NodeId: nodeID,
|
||||||
ParentId: b.GetRootId(),
|
ParentId: b.GetRootId(),
|
||||||
Timestamp: m.Time,
|
Timestamp: m.Time,
|
||||||
Meta: metaToProto(m.Items),
|
Meta: metaToProto(m.Items),
|
||||||
|
|
Loading…
Reference in a new issue