diff --git a/sky/backends/cloud_vm_ray_backend.py b/sky/backends/cloud_vm_ray_backend.py index b65d1f8b010..a9f48b5a770 100644 --- a/sky/backends/cloud_vm_ray_backend.py +++ b/sky/backends/cloud_vm_ray_backend.py @@ -2874,7 +2874,7 @@ def _get_zone(runner): to_provision_config.ports_to_open, lock_path) return handle - def _open_inexistent_ports(self, handle: CloudVmRayResourceHandle, + def _open_nonexistent_ports(self, handle: CloudVmRayResourceHandle, ports_to_open: List[str]) -> None: cloud = handle.launched_resources.cloud if not isinstance(cloud, (clouds.AWS, clouds.GCP, clouds.Azure)): diff --git a/sky/provision/azure/instance.py b/sky/provision/azure/instance.py index ca459330399..dfc98cdc436 100644 --- a/sky/provision/azure/instance.py +++ b/sky/provision/azure/instance.py @@ -13,6 +13,7 @@ def get_azure_sdk_function(client: Any, function_name: str) -> Callable: """Retrieve a callable function from Azure SDK client object. + Newer versions of the various client SDKs renamed function names to have a begin_ prefix. This function supports both the old and new versions of the SDK by first trying the old name and falling back to