diff options
author | Leandro Alves <ldalves@gmail.com> | 2021-11-25 16:49:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 16:49:05 +0100 |
commit | abf9a0e7e83016d8cd0046d4da03b1df5d5aab93 (patch) | |
tree | d862b052f999c9b82c283fdc466e69c7a1855ca2 /client/go/auth0/auth0.go | |
parent | 424d01764454c3385792c92b67d68914e59b5a70 (diff) | |
parent | 914a47fbb80bc09132173b1618923fc73076c4d1 (diff) |
Merge pull request #20219 from vespa-engine/bjorncs/vespa-cli
Bjorncs/vespa cli
Diffstat (limited to 'client/go/auth0/auth0.go')
-rw-r--r-- | client/go/auth0/auth0.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/go/auth0/auth0.go b/client/go/auth0/auth0.go index 43b42cb8960..aeac2e1a77a 100644 --- a/client/go/auth0/auth0.go +++ b/client/go/auth0/auth0.go @@ -25,7 +25,7 @@ import ( const accessTokenExpThreshold = 5 * time.Minute -var errUnauthenticated = errors.New("not logged in. Try 'vespa login'") +var errUnauthenticated = errors.New("not logged in. Try 'vespa auth login'") type config struct { Systems map[string]System `json:"systems"` @@ -216,7 +216,7 @@ func (a *Auth0) getSystem() (System, error) { s, ok := a.config.Systems[a.system] if !ok { - return System{}, fmt.Errorf("unable to find system: %s; run 'vespa login' to configure a new system", a.system) + return System{}, fmt.Errorf("unable to find system: %s; run 'vespa auth login' to configure a new system", a.system) } return s, nil |