diff options
author | root <florian.doublet@hotmail.fr> | 2015-06-18 12:00:37 +0200 |
---|---|---|
committer | root <florian.doublet@hotmail.fr> | 2015-06-18 12:00:37 +0200 |
commit | 1e6bb85edcd339b82a6b42f50357a5bef84147c6 (patch) | |
tree | baacc41d2ecbcbc525f86539785243cf78cf4d94 /lib/oxidized | |
parent | 59e87d0e1ebb477735b9c63f54c6ae5436cfd334 (diff) |
Remove more uptime lines
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/ironware.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb index 83af5a1..ad795d5 100644 --- a/lib/oxidized/model/ironware.rb +++ b/lib/oxidized/model/ironware.rb @@ -26,7 +26,7 @@ class IronWare < Oxidized::Model cmd 'show version' do |cfg| cfg.gsub! /(^((.*)[Ss]ystem uptime(.*))$)/, '' #remove unwanted line system uptime - cfg.gsub! /uptime is .*/,'' + cfg.gsub! /[Uu]p\s?[Tt]ime is .*/,'' comment cfg end |