Skip to content

Commit

Permalink
aoscx.rb: remove trailing white spaces
Browse files Browse the repository at this point in the history
remove trailing white spaces of line "# match Total Power consumption:"
  • Loading branch information
TerraTalpi authored May 13, 2024
1 parent 5c87c79 commit 88e40bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/aoscx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Aoscx < Oxidized::Model
# e.g. "Chassis Total Power Allocated (total of all max wattages) 4130 W"
# e.g. "Chassis Total Power Unallocated 15860 W"
cfg.gsub! /^(Chassis\sTotal\sPower\s)(Allocated|Unallocated)(\s|\s\(total of all max wattages\))(\s+)(\s{4}\d{1}|\s{3}\d{2}|\s{2}\d{3}|\s{1}\d{4}|\d{5})\sW\s*$/, '\\1\\2\\3\\4<power>'
# match Total Power Consumption:
# match Total Power Consumption:
cfg.gsub! /^([t|T]otal\s[p|P]ower\s[c|C]onsumption\s+)(\d+\.\d\d)$/, '\\1<power>'
comment cfg
end
Expand Down

0 comments on commit 88e40bc

Please sign in to comment.