summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorEric Lindsjö <eric.lindsjo@glesys.se>2017-10-20 08:48:39 +0200
committerEric Lindsjö <eric.lindsjo@glesys.se>2017-10-20 08:48:39 +0200
commit25dd702d92721e69dc4185205ad7bd7b65adf0ea (patch)
treecdd9384bc288e2b0d5ae5e0f1d8f59024ca51881 /lib/oxidized
parent457dfe0cad98b23b51c0a1079d7b8aa67d1c4df6 (diff)
Fixed ever-changing output in fiberdriver model
Diffstat (limited to 'lib/oxidized')
-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