Skip to content

Commit a2bb460

Browse files
committed
changed labels
1 parent 6fac6f9 commit a2bb460

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

onelens_backend_client_v2/models.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,13 +3870,15 @@ class JsonDimensionValues(BaseModel):
38703870
values: Dict[str, List[Optional[str]]] = Field(..., title="Values")
38713871

38723872

3873+
CCC_COMPUTE_CLASS_JOBS = "spot-jobs"
38733874
class KubernetesPodComputeLabel(str, Enum):
3874-
ol_arm_mini = "ol_arm_mini"
3875-
ol_arm_small = "ol_arm_small"
3876-
ol_arm_medium = "ol_arm_medium"
3877-
ol_amd_mini = "ol_amd_mini"
3878-
ol_amd_small = "ol_amd_small"
3879-
ol_amd_medium = "ol_amd_medium"
3875+
spot_jobs = CCC_COMPUTE_CLASS_JOBS
3876+
# Aliases — all map to the same CCC
3877+
ol_amd_mini = CCC_COMPUTE_CLASS_JOBS
3878+
ol_amd_small = CCC_COMPUTE_CLASS_JOBS
3879+
ol_amd_medium = CCC_COMPUTE_CLASS_JOBS
3880+
ol_amd_large = CCC_COMPUTE_CLASS_JOBS
3881+
38803882

38813883

38823884
class KubernetesProcessorPayload(BaseModel):

0 commit comments

Comments
 (0)