提交 a7fd82e2 编写于 作者: D Dan Lorenc

Unhide flag.

上级 cac6d07a
......@@ -88,6 +88,5 @@ func runStart(cmd *cobra.Command, args []string) {
func init() {
startCmd.Flags().StringVarP(&minikubeISO, "iso-url", "", "https://storage.googleapis.com/tinykube/minikube.iso", "Location of the minikube iso")
startCmd.Flags().MarkHidden("iso-url")
RootCmd.AddCommand(startCmd)
}
......@@ -43,7 +43,7 @@ var (
)
// StartHost starts a host VM.
func StartHost(api libmachine.API, config KubernetesConfig) (*host.Host, error) {
func StartHost(api libmachine.API, config MachineConfig) (*host.Host, error) {
if exists, err := api.Exists(constants.MachineName); err != nil {
return nil, fmt.Errorf("Error checking if host exists: %s", err)
} else if exists {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册