diff options
author | Kristian Aune <kkraune@users.noreply.github.com> | 2023-05-23 13:26:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 13:26:44 +0200 |
commit | 0a8b7389de37ee1f57f84513752174f110462c24 (patch) | |
tree | 48e558b5c7b360bea6d46cfe55407281c1f9fcc3 | |
parent | 999797b2b79b0d4ea3c6d5dd795a2c31454dd125 (diff) | |
parent | 763fb5ef52b3d2a8d96a7c4129e2f9d2b7e4ca86 (diff) |
Merge pull request #27180 from vespa-engine/kkraune/improve-warning
Less lecturing of user
-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 0e120546c8b..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. This is discouraged in non-CI environments", "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)) } |