Skip to content

Commit 9c622b9

Browse files
committed
fixed url typo
1 parent 5c9bd0f commit 9c622b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker_studio_docker_cli/commands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def ping_host(home, instance_type, instance_id, dns, port, retry=True):
2121
log.info(f"Pinging {dns}")
2222
path_to_cert = f"{home}/.sagemaker_studio_docker_cli/{instance_type}_{instance_id}/certs/client/"
2323
cert=(path_to_cert + "cert.pem", path_to_cert + "key.pem")
24-
response = json.loads(requests.get(f"https://{dns_address}:{port}/version", cert=cert, verify=False).content.decode("utf-8"))
24+
response = json.loads(requests.get(f"https://{dns}:{port}/version", cert=cert, verify=False).content.decode("utf-8"))
2525
log.info(f"DockerHost {dns} is healthy!")
2626
return (True, None)
2727
except Exception as error:

0 commit comments

Comments
 (0)