Skip to content

Commit 35044db

Browse files
authored
Remove Azure config location assignment (#669)
1 parent a21a07b commit 35044db

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cli/dstack/_internal/backend/azure/compute.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ def _get_image_ref(
330330

331331
def _config_with_location(config: AzureConfig, location: str) -> AzureConfig:
332332
new_config = config.copy()
333-
new_config.location = location
334333
new_config.network = azure_utils.get_default_network_name(config.storage_account, location)
335334
new_config.subnet = azure_utils.get_default_subnet_name(config.storage_account, location)
336335
return new_config

0 commit comments

Comments
 (0)