Skip to content

Commit

Permalink
fix load image error
Browse files Browse the repository at this point in the history
fix load image error

Signed-off-by: ning.mingxiao <[email protected]>
  • Loading branch information
ningmingxiao committed Oct 22, 2021
1 parent 4ae6506 commit ddb085e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nerdctl/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func loadAction(cmd *cobra.Command, args []string) error {
}

func loadImage(in io.Reader, cmd *cobra.Command, args []string, allPlatforms bool, quiet bool) error {
client, ctx, cancel, err := newClient(cmd, containerd.WithDefaultPlatform(platforms.DefaultStrict()))
client, ctx, cancel, err := newClient(cmd, containerd.WithDefaultPlatform(platforms.Default()))
if err != nil {
return err
}
Expand Down

0 comments on commit ddb085e

Please sign in to comment.