Skip to content

Commit

Permalink
Merge pull request #3167 from systeembeheerder/systeembeheerder-patch…
Browse files Browse the repository at this point in the history
…-fortios_acme

Update fortios.rb
  • Loading branch information
robertcheramy authored May 17, 2024
2 parents 89f10f7 + f13e7ea commit 472c781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/fortios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class FortiOS < Oxidized::Model
fullcfg = cmd(fullcmd)
next if fullcfg.lines[1..3].join =~ /(Parsing error at|command parse error)/ # Don't show for unsupported devices (e.g. FortiAnalyzer, FortiManager, FortiMail)

fullcfg.gsub! /(set comments "Error \(No order found for account ID \d+\) on).*/, '\\1 <stripped>'
fullcfg.gsub! /(set comments "Error \(No order (found )?for (account )?ID \d+\) on).*/, '\\1 <stripped>"'

cfg << fullcfg
break
Expand Down

0 comments on commit 472c781

Please sign in to comment.