diff options
author | ytti <saku@ytti.fi> | 2015-06-18 13:51:22 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-06-18 13:51:22 +0300 |
commit | f9575d3450d1684cf0f9d57bbe92ed822f1249d0 (patch) | |
tree | d253860e4ded48fa41502ae66e3c67e8cc4244f8 /lib | |
parent | f3201413e955fa56ae7cb08c93c6926d2c306d0c (diff) | |
parent | 1e6bb85edcd339b82a6b42f50357a5bef84147c6 (diff) |
Merge pull request #136 from FlorianDoublet/ironwareModif
Remove more uptime lines
Diffstat (limited to 'lib')
-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 |