Skip to content

Commit

Permalink
Add rich status for waiting for the endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jul 4, 2024
1 parent 422e9f4 commit b04c69a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def endpoints(cluster: str,
RuntimeError: if the cluster has no ports to be exposed or no endpoints
are exposed yet.
"""
with rich_utils.safe_status('[bold cyan]Fetching endpoints...[/]'):
with rich_utils.safe_status('[bold cyan]Fetching endpoints for cluster '
f'{cluster}...[/]'):
return backend_utils.get_endpoints(cluster=cluster, port=port)


Expand Down

0 comments on commit b04c69a

Please sign in to comment.