diff options
author | Thomas Davis <tadavis@lbl.gov> | 2016-06-03 10:11:13 -0700 |
---|---|---|
committer | Thomas Davis <tadavis@lbl.gov> | 2016-06-03 10:11:13 -0700 |
commit | 53f3fb648c43a6e31f9d271407cb5d36e2ff2673 (patch) | |
tree | 5c04ffbdd105e4bfdd1922ab4b7b179e606ccd0a /lib/oxidized/model | |
parent | 7fd44b27500d03c42ecc2e6868da796c87abd730 (diff) |
NOS v7 has an 'up' date field in the show chassis command that is the current day.
This removes that 'up' date value from the show chassis command.
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/nos.rb | 2 |
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| |