Skip to content

Commit

Permalink
fix network config
Browse files Browse the repository at this point in the history
  • Loading branch information
pitt-liang committed Aug 15, 2024
1 parent c51845f commit c4bece7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pai/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _init_default_session_from_env() -> Optional["Session"]:
network = (
Network.VPC
if is_domain_connectable(
PAI_VPC_ENDPOINT,
PAI_VPC_ENDPOINT.format(region_id),
timeout=1,
)
else Network.PUBLIC
Expand Down

0 comments on commit c4bece7

Please sign in to comment.