From 2c16e32001fdefb9572dff61241451b648259dbf Mon Sep 17 00:00:00 2001 From: "Chi Song (from Dev Box)" Date: Thu, 1 Feb 2024 11:47:40 -0800 Subject: [PATCH] Azure: Remove unused location in platform --- lisa/sut_orchestrator/azure/platform_.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lisa/sut_orchestrator/azure/platform_.py b/lisa/sut_orchestrator/azure/platform_.py index 36aa169ff8..99521854ef 100644 --- a/lisa/sut_orchestrator/azure/platform_.py +++ b/lisa/sut_orchestrator/azure/platform_.py @@ -298,7 +298,6 @@ class AzurePlatformSchema: ), ) vm_tags: Optional[Dict[str, Any]] = field(default=None) - locations: Optional[Union[str, List[str]]] = field(default=None) use_public_address: bool = field(default=True) virtual_network_resource_group: str = field(default="") @@ -366,9 +365,6 @@ def __post_init__(self, *args: Any, **kwargs: Any) -> None: "should be specified either both or not." ) - if not self.locations: - self.locations = LOCATIONS - @property def cloud(self) -> Cloud: # this is a safe guard and prevent mypy error on typing