Skip to content

Commit

Permalink
Use a larger API server
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Aug 13, 2024
1 parent 41cc751 commit 987ae3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/api-server/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resources:
cpus: 4+
ports: 46580


setup: |
Expand Down
6 changes: 3 additions & 3 deletions sky/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def __init__(
# TODO(zhwu): if region/zone is not valid, this dict will have wrong
# keys.
assert image_id is None or (
self._region is not None or self._zone is not None
), (f'image_id {image_id} specified when region and zone are set, '
'which is not supported yet.')
self._region is not None or self._zone is not None), (
f'image_id {image_id} specified when region and zone are set, '
'which is not supported yet.')
self._image_id = image_id
if isinstance(image_id, str):
self._image_id = {self._region: image_id.strip()}
Expand Down

0 comments on commit 987ae3b

Please sign in to comment.