File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
nodescraper/plugins/inband/package Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,11 @@ def collect_data(
238238 rocm_pattern = args .rocm_regex if args else PackageAnalyzerArgs ().rocm_regex
239239 rocm_packages = self ._filter_rocm_packages (packages , rocm_pattern )
240240 if rocm_packages :
241+ self .result .message = f"Found { len (rocm_packages )} ROCm-related packages installed as per given regex: { rocm_pattern } "
242+ self .result .status = ExecutionStatus .ERROR
241243 self ._log_event (
242244 category = EventCategory .OS ,
243- description = f"Found { len (rocm_packages )} ROCm-related packages installed" ,
245+ description = f"Found { len (rocm_packages )} ROCm-related packages installed as per given regex: { rocm_pattern } " ,
244246 priority = EventPriority .INFO ,
245247 data = {"rocm_packages" : sorted (rocm_packages .keys ())},
246248 )
You can’t perform that action at this time.
0 commit comments