From ba308571a41c31a036da8c964348d909a5b2bfc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fynn=20Sp=C3=A4ker?= Date: Mon, 17 Apr 2023 13:55:28 +0200 Subject: [PATCH] Update styling (#29) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fynn Späker --- pkg/install/v1/install.go | 6 ++---- pkg/install/v2/install.go | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pkg/install/v1/install.go b/pkg/install/v1/install.go index e00cb39..80eb2ce 100644 --- a/pkg/install/v1/install.go +++ b/pkg/install/v1/install.go @@ -75,10 +75,9 @@ func Install(kubeconfig string, isDryRun bool) error { _, err = git.PlainInit(gitRepoPath, true) if err != nil { return err - } + } } - fmt.Println("Installing flux") err = installFlux(kubeconfigArgs, kubeclientOptions) if err != nil { @@ -135,11 +134,10 @@ func Install(kubeconfig string, isDryRun bool) error { fmt.Println("") fmt.Println("Awesome. Your gardener installation should be up within 10 minutes.") fmt.Printf("Once it's done you can login as %s.\n", color.BlueString(keConfiguration.Admin.Email)) - fmt.Printf("Go kill some time by eagerly pressing F5 on https://dashboard.%s\n", color.BlueString(keConfiguration.DomainConfig.Domain)) + fmt.Printf("Go kill some time by eagerly pressing F5 on %s%s\n", color.BlueString("https://dashboard."), color.BlueString(keConfiguration.DomainConfig.Domain)) return nil } - func getKeConfig() (*KeConfig, error) { keConfig := new(KeConfig) err := UnmarshalKeConfig(keConfig) diff --git a/pkg/install/v2/install.go b/pkg/install/v2/install.go index 3bda25f..fe713da 100644 --- a/pkg/install/v2/install.go +++ b/pkg/install/v2/install.go @@ -129,7 +129,7 @@ func Install(kubeconfig string, isDryRun bool) error { fmt.Println("") fmt.Println("Awesome. Your gardener installation should be up within 10 minutes.") fmt.Printf("Once it's done you can login as %s.\n", color.BlueString(keConfiguration.Admin.Email)) - fmt.Printf("Go kill some time by eagerly pressing F5 on https://dashboard.%s\n", color.BlueString(keConfiguration.DomainConfig.Domain)) + fmt.Printf("Go kill some time by eagerly pressing F5 on %s%s\n", color.BlueString("https://dashboard."), color.BlueString(keConfiguration.DomainConfig.Domain)) return nil }