Skip to content

Commit f33f5c7

Browse files
committed
client-replica: fix nil map
1 parent 97c78fc commit f33f5c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fs_tree_manager/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ func (s *server) buildUserFSTree(userID int64) (*pb.MerkleTree, error) {
554554
MerkleHash: "",
555555
ParentUuid: parentUIDStr,
556556
FsEntry: &pb.FSEntry{Metadata: metadataStruct},
557+
ChildrenUuids: make(map[string]bool),
557558
}
558559

559560
nodes[uuid] = node

0 commit comments

Comments
 (0)