summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-06-03 20:37:58 +0300
committerytti <saku@ytti.fi>2016-06-03 20:37:58 +0300
commitd77e043a724698c3687665f9d00e8c49a520c83a (patch)
tree5c04ffbdd105e4bfdd1922ab4b7b179e606ccd0a
parent7fd44b27500d03c42ecc2e6868da796c87abd730 (diff)
parent53f3fb648c43a6e31f9d271407cb5d36e2ff2673 (diff)
Merge pull request #459 from ThomasADavis/master
NOS v7 has an 'up' date field in the show chassis command that is theā€¦
-rw-r--r--lib/oxidized/model/nos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/nos.rb b/lib/oxidized/model/nos.rb
index f71420b..ec7c818 100644
--- a/lib/oxidized/model/nos.rb
+++ b/lib/oxidized/model/nos.rb
@@ -22,7 +22,7 @@ class NOS < Oxidized::Model
end
cmd 'show chassis' do |cfg|
- comment cfg.each_line.reject { |line| line.match /Time/ }.join
+ comment cfg.each_line.reject { |line| line.match /Time/ or line.match /Update/ }.join
end
cfg 'show system' do |cfg|