Unhide flag.
parent
cac6d07a5d
commit
a7fd82e28a
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue