From 33089efb71682320f06d1cd51c6208666d9b76c4 Mon Sep 17 00:00:00 2001 From: HysunHe Date: Fri, 3 Jan 2025 21:28:51 +0800 Subject: [PATCH] trim space --- sky/clouds/oci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sky/clouds/oci.py b/sky/clouds/oci.py index 3457f13860d..a706b2bf44c 100644 --- a/sky/clouds/oci.py +++ b/sky/clouds/oci.py @@ -238,7 +238,7 @@ def make_deploy_resources_variables( # custom image's ocid provided in the --image-id parameter. # - ocid1.image...aaa:oraclelinux (os type is oraclelinux) # - ocid1.image...aaa (OS not provided) - image_id, os_type = image_id.split(':') + image_id, os_type = image_id.replace(' ', '').split(':') cpus = resources.cpus instance_type_arr = resources.instance_type.split(