Skip to content

Commit

Permalink
Azure: fix error on resolving image version with multiple locations.
Browse files Browse the repository at this point in the history
The original code hasn't use the latest runbook to resolve image. So the location is not set to single value.
  • Loading branch information
squirrelsc authored and LiliDeng committed Feb 2, 2024
1 parent 1174b5b commit a98190c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lisa/sut_orchestrator/azure/platform_.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@ def _prepare_environment(self, environment: Environment, log: Logger) -> bool:

# resolve Latest to specified version
if is_success:
self._resolve_marketplace_image_version(nodes_requirement)
self._resolve_marketplace_image_version(
environment.runbook.nodes_requirement
)

return is_success

Expand Down

0 comments on commit a98190c

Please sign in to comment.