Unhide flag.

pull/75/head
Dan Lorenc 2016-05-14 09:55:35 -07:00
parent cac6d07a5d
commit a7fd82e28a
2 changed files with 1 additions and 2 deletions

View File

@ -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)
}

View File

@ -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 {