From 88e40bcbe912e6bf203359adc3e81f09eaba1965 Mon Sep 17 00:00:00 2001 From: Felix <7132415+TerraTalpi@users.noreply.github.com> Date: Mon, 13 May 2024 10:24:48 +0200 Subject: [PATCH] aoscx.rb: remove trailing white spaces remove trailing white spaces of line "# match Total Power consumption:" --- lib/oxidized/model/aoscx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/aoscx.rb b/lib/oxidized/model/aoscx.rb index b095a826a..cdfbf4735 100644 --- a/lib/oxidized/model/aoscx.rb +++ b/lib/oxidized/model/aoscx.rb @@ -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' - # 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' comment cfg end