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"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
var authTemplate = `{{"Host:" | bold}} {{.Details.Host}}
|
var authTemplate = `{{"Host:" | bold}} {{.Status.Details.Host}}
|
||||||
{{- if .AccountID}}
|
{{- if .Status.AccountID}}
|
||||||
{{"Account ID:" | bold}} {{.AccountID}}
|
{{"Account ID:" | bold}} {{.Status.AccountID}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if .Username}}
|
{{- if .Status.Username}}
|
||||||
{{"User:" | bold}} {{.Username}}
|
{{"User:" | bold}} {{.Status.Username}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{"Authenticated with:" | bold}} {{.Details.AuthType}}
|
{{"Authenticated with:" | bold}} {{.Status.Details.AuthType}}
|
||||||
-----
|
-----
|
||||||
` + configurationTemplate
|
` + configurationTemplate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue