Skip to content

Commit

Permalink
Azure: Remove unused location in platform
Browse files Browse the repository at this point in the history
  • Loading branch information
squirrelsc authored and LiliDeng committed Feb 2, 2024
1 parent a98190c commit 2c16e32
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lisa/sut_orchestrator/azure/platform_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2c16e32

Please sign in to comment.