Skip to content

Commit 2c0685d

Browse files
authored
Add return value to validate_region_zone for local cloud (skypilot-org#1518)
Add return value to validate_region_zone
1 parent 457b88c commit 2c0685d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sky/clouds/local.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,4 @@ def validate_region_zone(self, region: Optional[str], zone: Optional[str]):
157157
if region is None or region != Local.LOCAL_REGION.name:
158158
raise ValueError(f'Region {region!r} does not match the Local'
159159
' cloud region {Local.LOCAL_REGION.name!r}.')
160+
return region, zone

0 commit comments

Comments
 (0)