Skip to content

Commit 3f6f231

Browse files
committed
add --all-platforms flag to LoadImageArchive
1 parent f3b223f commit 3f6f231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/nodeutils/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func LoadImageArchive(n nodes.Node, image io.Reader) error {
8282
if err != nil {
8383
return err
8484
}
85-
cmd := n.Command("ctr", "--namespace=k8s.io", "images", "import", "--digests", "--snapshotter="+snapshotter, "-").SetStdin(image)
85+
cmd := n.Command("ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "--digests", "--snapshotter="+snapshotter, "-").SetStdin(image)
8686
if err := cmd.Run(); err != nil {
8787
return errors.Wrap(err, "failed to load image")
8888
}

0 commit comments

Comments
 (0)