diff options
author | Kristian Aune <kkraune@users.noreply.github.com> | 2023-05-23 13:21:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 13:21:42 +0200 |
commit | 763fb5ef52b3d2a8d96a7c4129e2f9d2b7e4ca86 (patch) | |
tree | c6716d0025f543069128d1f3536172586b78b568 /client | |
parent | cb6c75ff50fe6362c745fc217d90c5c98b4ce054 (diff) |
Better message
Diffstat (limited to 'client')
-rw-r--r-- | client/go/internal/cli/cmd/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/internal/cli/cmd/config.go b/client/go/internal/cli/cmd/config.go index fa534f59283..409254c4349 100644 --- a/client/go/internal/cli/cmd/config.go +++ b/client/go/internal/cli/cmd/config.go @@ -515,7 +515,7 @@ func (c *Config) readAPIKey(cli *CLI, system vespa.System, tenantName string) ([ if _, err := os.Stat(c.authConfigPath()); err == nil { return nil, nil // We have auth config, so we should prefer Auth0 over API key } - cli.printWarning("Authenticating with API key.", "Authenticate with 'vespa auth login' instead") + cli.printWarning("Authenticating with API key, intended for use in CI environments.", "Authenticate with 'vespa auth login' instead") } return os.ReadFile(c.apiKeyPath(tenantName)) } |