summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/powerconnect.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/powerconnect.rb')
-rw-r--r--lib/oxidized/model/powerconnect.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index ac36c26..618f05a 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -67,6 +67,7 @@ class PowerConnect < Oxidized::Model
end
out << line.strip
end
+ out = out.select { |line| not line[/Up\sTime/] }
out = comment out.join "\n"
out << "\n"
end