зеркало из https://github.com/microsoft/lisa.git
Azure: refactoring reduce indents
This commit is contained in:
Родитель
dffe8cd810
Коммит
d194b9ffac
|
@ -2381,11 +2381,11 @@ class AzurePlatform(Platform):
|
|||
|
||||
|
||||
def _convert_to_azure_node_space(node_space: schema.NodeSpace) -> None:
|
||||
if node_space:
|
||||
if not node_space:
|
||||
return
|
||||
|
||||
if node_space.features:
|
||||
new_settings = search_space.SetSpace[schema.FeatureSettings](
|
||||
is_allow_set=True
|
||||
)
|
||||
new_settings = search_space.SetSpace[schema.FeatureSettings](is_allow_set=True)
|
||||
for current_settings in node_space.features.items:
|
||||
# reload to type specified settings
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче