Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
Fix gvmcg titles
Browse files Browse the repository at this point in the history
Use `.*` instead of `*`. `*` matches 0 or more.
`.*` matches 0 or more of any char.
  • Loading branch information
ArnoStiefvater committed Jun 14, 2021
1 parent c242933 commit eff2511
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ospd/command/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,21 @@ def handle_xml(self, xml: Element) -> bytes:


GVMCG_TITLES = [
'cpu-*',
'cpu-.*',
'proc',
'mem',
'swap',
'load',
'df-*',
'df-.*',
'disk-sd[a-z][0-9]-rw',
'disk-sd[a-z][0-9]-load',
'disk-sd[a-z][0-9]-io-load',
'interface-eth*-traffic',
'interface-eth*-err-rate',
'interface-eth*-err',
'sensors-*_temperature-*',
'sensors-*_fanspeed-*',
'sensors-*_voltage-*',
'interface-eth.*-traffic',
'interface-eth.*-err-rate',
'interface-eth.*-err',
'sensors-.*_temperature-.*',
'sensors-.*_fanspeed-.*',
'sensors-.*_voltage-.*',
'titles',
] # type: List[str]

Expand Down

0 comments on commit eff2511

Please sign in to comment.