diff options
author | Kristian Aune <kraune@verizonmedia.com> | 2023-05-23 09:44:02 +0200 |
---|---|---|
committer | Kristian Aune <kraune@verizonmedia.com> | 2023-05-23 09:44:02 +0200 |
commit | cb6c75ff50fe6362c745fc217d90c5c98b4ce054 (patch) | |
tree | c3653f923e0d261edc88c2c79a5317c820c163fd | |
parent | 23128f585da2b38d33978c14e80662a183fbe725 (diff) |
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..fa534f59283 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.", "Authenticate with 'vespa auth login' instead") } return os.ReadFile(c.apiKeyPath(tenantName)) } |