Skip to content

Commit

Permalink
Fix comments with sky serve update (#3910)
Browse files Browse the repository at this point in the history
* fix

* Update sky/serve/serve_utils.py

Co-authored-by: Zhanghao Wu <[email protected]>

---------

Co-authored-by: Zhanghao Wu <[email protected]>
  • Loading branch information
cblmemo and Michaelvll authored Sep 5, 2024
1 parent 455e065 commit 2e545b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sky/serve/serve_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,8 @@ def wait_service_registration(service_name: str, job_id: int) -> str:
raise ValueError(
f'The service {service_name!r} is already running. '
'Please specify a different name for your service. '
'To update an existing service, run: `sky serve down` '
'and then `sky serve up` again (in-place update will '
'be supported in the future).')
'To update an existing service, run: sky serve update '
f'{service_name} <new-service-yaml>')
lb_port = record['load_balancer_port']
if lb_port is not None:
return common_utils.encode_payload(lb_port)
Expand Down

0 comments on commit 2e545b8

Please sign in to comment.