File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161
6262def SNowInstance (snow_credentials : tuple [str , str ] | None = None ):
6363 """
64- Wrapper around the standard SNowInstance that prefers explicit credentials .
64+ Wrapper around the standard SNowInstance that uses CLI-provided instance URL and password if none are provided .
6565 """
6666 if not _CLI_INSTANCE_URL :
6767 raise RuntimeError ("Installer requires --instance-url to create a SNowInstance." )
6868
69- resolved_url = _CLI_INSTANCE_URL
7069 resolved_creds = snow_credentials
7170
7271 if resolved_creds is None :
@@ -77,7 +76,7 @@ def SNowInstance(snow_credentials: tuple[str, str] | None = None):
7776 resolved_creds = ("admin" , _CLI_INSTANCE_PASSWORD )
7877
7978 return _BaseSNowInstance (
80- snow_url = resolved_url ,
79+ snow_url = _CLI_INSTANCE_URL ,
8180 snow_credentials = resolved_creds ,
8281 )
8382
You can’t perform that action at this time.
0 commit comments