Skip to content

Commit d471460

Browse files
committed
squash away info about different login servers until ready.
1 parent f612abd commit d471460

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

internal/entireclient/clusterdiscovery/discovery.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,7 @@ func RenderLoginHint(clusterHost string, coreURLs []string) string {
150150
// resolvers.
151151
func renderLoginHint(subject string, coreURLs []string) string {
152152
var b strings.Builder
153-
fmt.Fprintf(&b, "no auth context for %s. Accepts logins from:\n", subject)
154-
for _, u := range coreURLs {
155-
fmt.Fprintf(&b, " %s\n", u)
156-
}
157-
fmt.Fprint(&b, "\nLog in with `entire login`, then re-run your command.\n"+
158-
"If you already have a login on one of those servers, switch to it with `entire auth use <context>`.")
153+
fmt.Fprintf(&b, "no auth context for %s.\n", subject)
154+
fmt.Fprint(&b, "Log in with `entire login`, then re-run your command.")
159155
return b.String()
160156
}

0 commit comments

Comments
 (0)