From a2ea1f017253105281d0036c26be5cfbe5f7ae36 Mon Sep 17 00:00:00 2001 From: Thomas Eckert Date: Sat, 22 Oct 2022 11:33:12 -0400 Subject: [PATCH] Polish output text --- cli/cmd/install/install.go | 2 +- cli/cmd/uninstall/uninstall.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/cmd/install/install.go b/cli/cmd/install/install.go index 49b5fe5a7f..7b5d5bb31c 100644 --- a/cli/cmd/install/install.go +++ b/cli/cmd/install/install.go @@ -401,7 +401,7 @@ func (c *Command) installConsul(valuesYaml []byte, vals map[string]interface{}, if len(vals) == 0 { c.UI.Output("\nNo overrides provided, using the default Helm values.", terminal.WithInfoStyle()) } else { - c.UI.Output("\nHelm value overrides\n-------------------\n"+string(valuesYaml), terminal.WithInfoStyle()) + c.UI.Output("\nHelm value overrides\n--------------------\n"+string(valuesYaml), terminal.WithInfoStyle()) } // Without informing the user, default global.name to consul if it hasn't been set already. We don't allow setting diff --git a/cli/cmd/uninstall/uninstall.go b/cli/cmd/uninstall/uninstall.go index 17be99ada0..3f2623d370 100644 --- a/cli/cmd/uninstall/uninstall.go +++ b/cli/cmd/uninstall/uninstall.go @@ -375,7 +375,7 @@ func (c *Command) uninstallHelmRelease(releaseName, namespace, releaseType strin // Delete any custom resources managed by Consul. If they cannot be deleted, // patch the finalizers to be empty on each one. if releaseType == common.ReleaseTypeConsul { - c.UI.Output("Deleting custom resources managed by Consul.", terminal.WithLibraryStyle()) + c.UI.Output("Deleting custom resources managed by Consul", terminal.WithLibraryStyle()) err := backoff.Retry(func() error { crs, err := c.fetchCustomResources() if err != nil { @@ -400,7 +400,7 @@ func (c *Command) uninstallHelmRelease(releaseName, namespace, releaseType strin return nil }, backoff.WithMaxRetries(backoff.NewConstantBackOff(time.Second), 5)) if common.IsDeletionError(err) { - c.UI.Output("Patching finalizers on custom resources managed by Consul.", terminal.WithLibraryStyle()) + c.UI.Output("Patching finalizers on custom resources managed by Consul", terminal.WithLibraryStyle()) crs, err := c.fetchCustomResources() if err != nil { return err