Skip to content

Commit d56bece

Browse files
authored
fix some stray references to minikube-knative profile (#185)
1 parent 251856b commit d56bece

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pkg/install/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func KourierMinikube() error {
108108
// Instead, they will be directed to create one manually after
109109
// the plugin finishes
110110
if runtime.GOOS != "window" && runtime.GOOS != "darwin" {
111-
tunnel := exec.Command("minikube", "tunnel", "--profile", "minikube-knative")
111+
tunnel := exec.Command("minikube", "tunnel", "--profile", "knative")
112112
if err := tunnel.Start(); err != nil {
113113
return fmt.Errorf("tunnel: %w", err)
114114
}

pkg/minikube/minikube.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func SetUp(name string) error {
4242
if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
4343
fmt.Print("\n")
4444
fmt.Println("To finish setting up networking for minikube, run the following command in a separate terminal window:")
45-
fmt.Println(" minikube tunnel --profile minikube-knative")
45+
fmt.Println(" minikube tunnel --profile knative")
4646
fmt.Println("\nPress the Enter key to continue")
4747
fmt.Scanln()
4848
}
@@ -109,7 +109,6 @@ func checkMinikubeVersion() error {
109109
// the option of deleting the existing cluster and recreating it. If not, it proceeds to
110110
// creating a new cluster
111111
func checkForExistingCluster() error {
112-
113112
getClusters := exec.Command("minikube", "profile", "list")
114113
out, err := getClusters.CombinedOutput()
115114
if err != nil {
@@ -151,7 +150,6 @@ func checkForExistingCluster() error {
151150

152151
// createNewCluster creates a new Minikube cluster
153152
func createNewCluster() error {
154-
155153
fmt.Println("☸ Creating Minikube cluster...")
156154
fmt.Println("\nBy default, using the standard minikube driver for your system")
157155
fmt.Println("If you wish to use a different driver, please configure minikube using")

0 commit comments

Comments
 (0)