зеркало из https://github.com/microsoft/lisa.git
Don't get node info, if there is no node.
It prevents the exception is reraised, if node is not ready.
This commit is contained in:
Родитель
f15af03089
Коммит
3c94699c3b
|
@ -118,7 +118,7 @@ class TestResult:
|
|||
set_filtered_fields(self, result_message, fields=fields)
|
||||
|
||||
# get information of default node, and send to notifier.
|
||||
if self.environment:
|
||||
if self.environment and self.environment.nodes:
|
||||
environment_information = (
|
||||
self.environment.default_node.get_node_information()
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче