1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-07 19:30:23 +02:00

Revert "Fix kind image loading for MacOS (#1026)" (#1054)

This reverts commit a46638e2960082b28f4073ce2a8e774c0429a856.
This commit is contained in:
Jason Hall 2023-05-23 11:14:15 -04:00 committed by GitHub
parent a46638e296
commit 27ca485d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ func Write(ctx context.Context, tag name.Tag, img v1.Image) error {
})
var buf bytes.Buffer
cmd := n.CommandContext(ctx, "ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "-").SetStdin(pr)
cmd := n.CommandContext(ctx, "ctr", "--namespace=k8s.io", "images", "import", "-").SetStdin(pr)
cmd.SetStdout(&buf)
cmd.SetStderr(&buf)
if err := cmd.Run(); err != nil {