From adc5eedd7c42d5335f3454c381e3e0147661e07d Mon Sep 17 00:00:00 2001 From: John Dietz Date: Tue, 22 Nov 2022 13:47:03 -0500 Subject: [PATCH] removing duplicate port forward to minio --- internal/k8s/portForward.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/internal/k8s/portForward.go b/internal/k8s/portForward.go index 076d49144..91de22077 100644 --- a/internal/k8s/portForward.go +++ b/internal/k8s/portForward.go @@ -165,7 +165,7 @@ func OpenPortForwardForCloudConConsole() error { func OpenPortForwardForKubeConConsole() error { var wg sync.WaitGroup - wg.Add(8) + wg.Add(7) // argo workflows go func() { output, err := PortForward(false, "argo", "svc/argo-server", "2746:2746") @@ -240,19 +240,6 @@ func OpenPortForwardForKubeConConsole() error { wg.Done() }() - // minio console - go func() { - output, err := PortForward(false, "minio", "svc/minio", "9000:9000") - if err != nil { - log.Println("error opening Minio port forward") - } - stderr := fmt.Sprint(output.Stderr) - if len(stderr) > 0 { - log.Println(stderr) - } - wg.Done() - }() - // minio console go func() { output, err := PortForward(false, "minio", "svc/minio-console", "9001:9001")