Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cmd/auth/describe.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -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

Expand Down