diff options
| author | ytti <saku@ytti.fi> | 2017-03-28 19:58:36 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-28 19:58:36 +0300 | 
| commit | 1148b88b9088e98da579e63fc4fae8b7b2894e9f (patch) | |
| tree | 6ba1782e7e79354f3385a8a735d31c64c08fd277 | |
| parent | d218bb2684fb0c619c9dc67b952dda3e0f940a1d (diff) | |
| parent | f63cb61550cd2401c32a42d36cf07f5243c788c1 (diff) | |
Merge pull request #786 from nesteffe/master
Remove single line 'Up Time' lines from show system
| -rw-r--r-- | lib/oxidized/model/powerconnect.rb | 1 | 
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 | 
