From da14b208d3fbf8a812f277accec71f8aa6b565e7 Mon Sep 17 00:00:00 2001 From: Neil Macneale V Date: Mon, 9 Oct 2023 16:00:25 -0700 Subject: [PATCH] Global endpoint is global --- src/commands/cloud-login.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/commands/cloud-login.ts b/src/commands/cloud-login.ts index 6ea2aeb8..d55b0c4d 100644 --- a/src/commands/cloud-login.ts +++ b/src/commands/cloud-login.ts @@ -22,11 +22,7 @@ class Region { } endpointName(base: string) { - if (this.name === "global") { - return base; - } else { - return `${base}-${this.name}`; - } + return `${base}-${this.name}`; } }