From a9587eca976763d82e588a3887805d1cb3e2e27f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2017 20:20:46 +0100 Subject: changed "diagnose autoupdate version" behaviour, since with every update of signatures the config version is changed --- lib/oxidized/model/fortios.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index fa8fd33..cdb50d5 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -34,7 +34,7 @@ class FortiOS < Oxidized::Model end cfg << cmd('diagnose autoupdate version') do |cfg| - comment cfg + comment cfg.each_line.reject { |line| line.match /Last Update|Result/ }.join end cfg << cmd('end') if @vdom_enabled -- cgit v1.2.1