зеркало из https://github.com/microsoft/lisa.git
Azure: refactoring code indent
This commit is contained in:
Родитель
d4bb0766b2
Коммит
887585a3d0
|
@ -365,10 +365,11 @@ class AzurePlatform(Platform):
|
|||
3. check capability for each node by order of pattern.
|
||||
4. get min capability for each match
|
||||
"""
|
||||
is_success: bool = True
|
||||
|
||||
if environment.runbook.nodes_requirement:
|
||||
is_success = False
|
||||
if not environment.runbook.nodes_requirement:
|
||||
return True
|
||||
|
||||
is_success: bool = False
|
||||
nodes_requirement = environment.runbook.nodes_requirement
|
||||
node_count = len(nodes_requirement)
|
||||
# fills predefined locations here.
|
||||
|
|
Загрузка…
Ссылка в новой задаче