diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-09-06 14:02:47 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-09-06 14:02:47 +0200 |
commit | 03a55fcbc14f18e7d89f8928335987c7f99cda2e (patch) | |
tree | b9b0756415d1193f825827c44cb60a42dd20ce52 | |
parent | b9c21ecde323f330ecaf0af5274dfb7c589e59ac (diff) |
Improve some text
-rw-r--r-- | client/go/cmd/api_key.go | 3 | ||||
-rw-r--r-- | client/go/cmd/helpers.go | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/go/cmd/api_key.go b/client/go/cmd/api_key.go index e4e217e9aed..fc13768a215 100644 --- a/client/go/cmd/api_key.go +++ b/client/go/cmd/api_key.go @@ -79,6 +79,7 @@ func printPublicKey(apiKeyFile, tenant string) { } log.Printf("\nThis is your public key:\n%s", color.Green(pemPublicKey)) log.Printf("Its fingerprint is:\n%s\n", color.Cyan(fingerprint)) - log.Print("\nTo use this key in Vespa Cloud it must be added to your tenant here:") + log.Print("\nTo use this key in Vespa Cloud click 'Add custom key' at") log.Printf(color.Cyan("https://console.vespa.oath.cloud/tenant/%s/keys").String(), tenant) + log.Print("and paste the entire public key including the BEGIN and END lines.") } diff --git a/client/go/cmd/helpers.go b/client/go/cmd/helpers.go index c17a8aa68fe..18a499fcffc 100644 --- a/client/go/cmd/helpers.go +++ b/client/go/cmd/helpers.go @@ -89,10 +89,10 @@ func getService(service string) *vespa.Service { t := getTarget() timeout := time.Duration(waitSecsArg) * time.Second if timeout > 0 { - log.Printf("Waiting up to %d %s for service discovery to complete ...", color.Cyan(waitSecsArg), color.Cyan("seconds")) + log.Printf("Waiting up to %d %s for services to become available ...", color.Cyan(waitSecsArg), color.Cyan("seconds")) } if err := t.DiscoverServices(timeout); err != nil { - printErr(err, "Failed to discover services") + printErr(err, "Services unavailable") } s, err := t.Service(service) if err != nil { |