Skip to content

Commit 3498d4f

Browse files
committed
addressed reviews
1 parent b4b5b75 commit 3498d4f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

nodescraper/plugins/inband/rocm/rocm_collector.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ def collect_data(self, args=None) -> tuple[TaskResult, RocmDataModel | None]:
6262
self.result.message = f"ROCm: {rocm_data.model_dump()}"
6363
self.result.status = ExecutionStatus.OK
6464
break
65-
else:
66-
self._log_event(
67-
category=EventCategory.OS,
68-
description=f"Could not get ROCm version format from {path}",
69-
data={"raw_output": res.stdout},
70-
priority=EventPriority.ERROR,
71-
)
65+
else:
66+
self._log_event(
67+
category=EventCategory.OS,
68+
description=f"Could not get ROCm version format from {path}",
69+
data={"raw_output": res.stdout},
70+
priority=EventPriority.ERROR,
71+
)
7272

7373
if not rocm_data:
7474
self._log_event(

0 commit comments

Comments
 (0)