Skip to content

Commit b8cbaf7

Browse files
Merge pull request #24 from amd/alex_os_fix
Fix for generating reference config
2 parents 3963c6f + 54add16 commit b8cbaf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nodescraper/plugins/inband/os/analyzer_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ def build_from_model(cls, datamodel: OsDataModel) -> "OsAnalyzerArgs":
5959
Returns:
6060
OsAnalyzerArgs: instance of analyzer args class
6161
"""
62-
return cls(exp_os=datamodel.os_version)
62+
return cls(exp_os=datamodel.os_name)

nodescraper/plugins/inband/package/analyzer_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
class PackageAnalyzerArgs(AnalyzerArgs):
3333
exp_package_ver: dict[str, str | None] = Field(default_factory=dict)
34-
regex_match: bool = True
34+
regex_match: bool = False
3535

3636
@classmethod
3737
def build_from_model(cls, datamodel: PackageDataModel) -> "PackageAnalyzerArgs":

0 commit comments

Comments
 (0)