mirror of https://github.com/databricks/cli.git
Fixed message for successful auth describe run (#1336)
## Changes Fixed message for successful auth describe run
This commit is contained in:
parent
04cbc7171e
commit
5a7405e606
|
@ -12,14 +12,14 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var authTemplate = `{{"Host:" | bold}} {{.Details.Host}}
|
||||
{{- if .AccountID}}
|
||||
{{"Account ID:" | bold}} {{.AccountID}}
|
||||
var authTemplate = `{{"Host:" | bold}} {{.Status.Details.Host}}
|
||||
{{- if .Status.AccountID}}
|
||||
{{"Account ID:" | bold}} {{.Status.AccountID}}
|
||||
{{- end}}
|
||||
{{- if .Username}}
|
||||
{{"User:" | bold}} {{.Username}}
|
||||
{{- if .Status.Username}}
|
||||
{{"User:" | bold}} {{.Status.Username}}
|
||||
{{- end}}
|
||||
{{"Authenticated with:" | bold}} {{.Details.AuthType}}
|
||||
{{"Authenticated with:" | bold}} {{.Status.Details.AuthType}}
|
||||
-----
|
||||
` + configurationTemplate
|
||||
|
||||
|
|
Loading…
Reference in New Issue