From 2fae08775263db9f4f7401c87d0a1e82bd700962 Mon Sep 17 00:00:00 2001 From: Amir Blum Date: Tue, 24 Oct 2023 13:54:19 +0300 Subject: [PATCH] chore: upgrade cloud proxy version --- cli/cmd/install.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/cmd/install.go b/cli/cmd/install.go index 2c04f0eeb..d89cbe785 100644 --- a/cli/cmd/install.go +++ b/cli/cmd/install.go @@ -21,7 +21,7 @@ import ( ) const ( - odigosCloudProxyVersion = "v0.5.0" + odigosCloudProxyVersion = "v0.6.0" ) var ( @@ -56,14 +56,14 @@ This command will install k8s components that will auto-instrument your applicat fmt.Printf("Installing Odigos version %s in namespace %s ...\n", versionFlag, ns) existingOdigosNs, err := resources.GetOdigosNamespace(client, ctx) - if err == nil { + if err == nil { fmt.Printf("\033[31mERROR\033[0m Odigos is already installed in namespace \"%s\". If you wish to re-install, run \"odigos uninstall\" first.\n", existingOdigosNs) os.Exit(1) } else if !resources.IsErrNoOdigosNamespaceFound(err) { fmt.Printf("\033[31mERROR\033[0m Failed to check if Odigos is already installed: %s\n", err) os.Exit(1) } - + isOdigosCloud := odigosCloudApiKeyFlag != "" createKubeResourceWithLogging(ctx, fmt.Sprintf("Creating namespace %s", ns), client, cmd, ns, createNamespace)