summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/config.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-03-02 14:23:57 +0100
committerGitHub <noreply@github.com>2022-03-02 14:23:57 +0100
commit1c81d1f689d1124748b5a84e3792025bb67a3990 (patch)
tree1a5db530640839e7f00fc7b190a2e70be7362b8b /client/go/cmd/config.go
parent736c8995222909f8392c7c0236c99aa3e9f74e27 (diff)
parentb3e60810bf96071976d310cc55f7fb78815fe2c6 (diff)
Merge pull request #21487 from vespa-engine/ean/application-test-zip-issues
Ean/application test zip issues
Diffstat (limited to 'client/go/cmd/config.go')
-rw-r--r--client/go/cmd/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/cmd/config.go b/client/go/cmd/config.go
index e6fd1d93c1a..30db45c2bd2 100644
--- a/client/go/cmd/config.go
+++ b/client/go/cmd/config.go
@@ -208,7 +208,7 @@ func (c *Config) UseAPIKey(system vespa.System, tenantName string) bool {
// TODO: Remove this when users have had time to migrate over to Auth0 device flow authentication
a, err := auth0.GetAuth0(c.AuthConfigPath(), system.Name, system.URL)
if err != nil || !a.HasSystem() {
- fmt.Fprintln(stderr, "Defaulting to tenant API key is deprecated. Use Auth0 device flow: 'vespa auth login' instead")
+ printWarning("Defaulting to tenant API key is deprecated.", "Use Auth0 device flow: 'vespa auth login' instead")
return util.PathExists(c.APIKeyPath(tenantName))
}
return false