hotfix: switch default for image import to original tools-node mode, because direct mode failed fairly often

pull/1027/head
iwilltry42 2 years ago
parent f2df55ad1a
commit 7b1b416c22
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 2
      cmd/image/imageImport.go

@ -98,7 +98,7 @@ So if a file './k3d-io/k3d-tools' exists, k3d will try to import it instead of t
cmd.Flags().BoolVarP(&loadImageOpts.KeepTar, "keep-tarball", "k", false, "Do not delete the tarball containing the saved images from the shared volume")
cmd.Flags().BoolVarP(&loadImageOpts.KeepToolsNode, "keep-tools", "t", false, "Do not delete the tools node after import")
cmd.Flags().StringP("mode", "m", string(k3d.ImportModeAutoDetect), "Which method to use to import images into the cluster [auto, direct, tools]. See https://k3d.io/usage/guides/importing_images/")
cmd.Flags().StringP("mode", "m", string(k3d.ImportModeToolsNode), "Which method to use to import images into the cluster [auto, direct, tools]. See https://k3d.io/usage/guides/importing_images/")
/* Subcommands */
// done

Loading…
Cancel
Save