summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/go/cmd/helpers.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/client/go/cmd/helpers.go b/client/go/cmd/helpers.go
index 54d8798b71d..702f50ce9f5 100644
--- a/client/go/cmd/helpers.go
+++ b/client/go/cmd/helpers.go
@@ -153,17 +153,10 @@ func getConsoleURL() string {
}
func getApiURL() string {
- if vespa.Auth0AccessTokenEnabled() {
- if getSystem() == "publiccd" {
- return "https://api.vespa-external-cd.aws.oath.cloud:443"
- }
- return "https://api.vespa-external.aws.oath.cloud:443"
- } else {
- if getSystem() == "publiccd" {
- return "https://api.vespa-external-cd.aws.oath.cloud:4443"
- }
- return "https://api.vespa-external.aws.oath.cloud:4443"
+ if getSystem() == "publiccd" {
+ return "https://api.vespa-external-cd.aws.oath.cloud:4443"
}
+ return "https://api.vespa-external.aws.oath.cloud:4443"
}
func getTarget() vespa.Target {