summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-09-06 14:25:08 +0200
committerGitHub <noreply@github.com>2021-09-06 14:25:08 +0200
commita19035d90e87e3a5d0994c4ad97af404f9e657f6 (patch)
treeda028687a9fc47f698e54d30b4ac0cb33b1ebcef /client
parent68dfecca5a3baeb118c65e2dfaf7ff3284179f42 (diff)
parent03a55fcbc14f18e7d89f8928335987c7f99cda2e (diff)
Merge pull request #18977 from vespa-engine/bratseth/tweak
Improve some text
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/api_key.go3
-rw-r--r--client/go/cmd/helpers.go4
2 files changed, 4 insertions, 3 deletions
diff --git a/client/go/cmd/api_key.go b/client/go/cmd/api_key.go
index 9e9569e9f71..04c2354a701 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 db43af65592..333e20d41a6 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 {