Skip to content

Commit

Permalink
fix: Append two additional facts to the graylist
Browse files Browse the repository at this point in the history
* Card ID: CCT-1023

This update appends two additional CPU-related facts to the graylist.
The graylist currently includes `cpu.cpu_mhz` and `lscpu.cpu_mhz`, but
RHEL 9.6 and 10.0 add more CPU facts that also vary frequently.
  • Loading branch information
pkoprda committed Mar 3, 2025
1 parent 66a8798 commit c314fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rhsmlib/facts/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FactsDict(collections.abc.MutableMapping):
"""A dict for facts that ignores items in 'graylist' on compares."""

GRAYLIST = set(
["cpu.cpu_mhz", "lscpu.cpu_mhz"]
["cpu.cpu_mhz", "lscpu.cpu_mhz", "proc_cpuinfo.common.cpu_mhz", "lscpu.cpu(s)_scaling_mhz"]
)

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit c314fcf

Please sign in to comment.