Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit dfdb875

Browse files
committed
Shorted JMP_USE_ALTERNATIVE_ENDPOINTS to JMP_USE_ALT_ENDPOINTS
1 parent ae31977 commit dfdb875

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/jumpstarter/jumpstarter/common/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from jumpstarter.client import client_from_path
99
from jumpstarter.config.client import _allow_from_env
10-
from jumpstarter.config.env import JMP_DRIVERS_ALLOW, JMP_USE_ALTERNATIVE_ENDPOINTS, JUMPSTARTER_HOST
10+
from jumpstarter.config.env import JMP_DRIVERS_ALLOW, JMP_USE_ALT_ENDPOINTS, JUMPSTARTER_HOST
1111
from jumpstarter.driver import Driver
1212
from jumpstarter.exporter import Session
1313

@@ -52,7 +52,7 @@ async def env_async(portal, stack):
5252

5353
allow, unsafe = _allow_from_env()
5454

55-
use_alternative_endpoints = os.environ.get(JMP_USE_ALTERNATIVE_ENDPOINTS, "0") == "1"
55+
use_alternative_endpoints = os.environ.get(JMP_USE_ALT_ENDPOINTS, "0") == "1"
5656

5757
async with client_from_path(
5858
host,
@@ -119,7 +119,7 @@ def launch_shell(
119119
| {
120120
JUMPSTARTER_HOST: host,
121121
JMP_DRIVERS_ALLOW: "UNSAFE" if unsafe else ",".join(allow),
122-
JMP_USE_ALTERNATIVE_ENDPOINTS: "1" if use_alternative_endpoints else "0",
122+
JMP_USE_ALT_ENDPOINTS: "1" if use_alternative_endpoints else "0",
123123
"PS1": f"{ANSI_GRAY}{PROMPT_CWD} {ANSI_YELLOW}{ANSI_WHITE}{context} {ANSI_YELLOW}{ANSI_RESET} ",
124124
},
125125
)

packages/jumpstarter/jumpstarter/config/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
JMP_DRIVERS_ALLOW = "JMP_DRIVERS_ALLOW"
88
JUMPSTARTER_HOST = "JUMPSTARTER_HOST"
99
JMP_LEASE = "JMP_LEASE"
10-
JMP_USE_ALTERNATIVE_ENDPOINTS = "JMP_USE_ALTERNATIVE_ENDPOINTS"
10+
JMP_USE_ALT_ENDPOINTS = "JMP_USE_ALT_ENDPOINTS"

0 commit comments

Comments
 (0)