summaryrefslogtreecommitdiffhomepage
path: root/pkg/merkletree
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2021-04-08 11:43:46 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-08 11:45:54 -0700
commitffeb2a2f54c7363136c29cfe179afedf0889ea3f (patch)
tree5f1ae5bf300cf2f9067444afff94b18b021a3cd6 /pkg/merkletree
parent9e4a1e31d4fbf7d4439d503bf318517c92c8e885 (diff)
Add Children in merkletree generate
This field was missing and should be provided. PiperOrigin-RevId: 367474481
Diffstat (limited to 'pkg/merkletree')
-rw-r--r--pkg/merkletree/merkletree.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/merkletree/merkletree.go b/pkg/merkletree/merkletree.go
index 961bd4dcf..6450f664c 100644
--- a/pkg/merkletree/merkletree.go
+++ b/pkg/merkletree/merkletree.go
@@ -238,6 +238,7 @@ func Generate(params *GenerateParams) ([]byte, error) {
Mode: params.Mode,
UID: params.UID,
GID: params.GID,
+ Children: params.Children,
SymlinkTarget: params.SymlinkTarget,
}