summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorNeil Lathwood <neil@lathwood.co.uk>2017-10-24 21:24:15 +0100
committerGitHub <noreply@github.com>2017-10-24 21:24:15 +0100
commitba717b6d2f1b9b83acd65c12ed3e730a69ff7784 (patch)
treed392df98c9a8c5ca39c33fc1366bbe1c94c86acd /lib/oxidized/model
parent97a1c9093359f4c141d1ff37dd0ff1c619ffbd7f (diff)
parent25dd702d92721e69dc4185205ad7bd7b65adf0ea (diff)
fix: Fixed fiberdriver recording changed output unnecessarily
Fixed ever-changing output in fiberdriver model
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/fiberdriver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fiberdriver.rb b/lib/oxidized/model/fiberdriver.rb
index abe8f68..7cfa847 100644
--- a/lib/oxidized/model/fiberdriver.rb
+++ b/lib/oxidized/model/fiberdriver.rb
@@ -13,7 +13,7 @@ class FiberDriver < Oxidized::Model
cfg.each_line.to_a[3..-1].join
cfg.gsub! /^Building configuration.*$/, ''
cfg.gsub! /^Current configuration:.*$$/, ''
- cfg.gsub! /^! Configuration saved on .*$/, ''
+ cfg.gsub! /^! Configuration (saved|generated) on .*$/, ''
cfg
end