Skip to content

Commit

Permalink
Polish output text
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Eckert committed Oct 25, 2022
1 parent 27d7d22 commit a2ea1f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/uninstall/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit a2ea1f0

Please sign in to comment.