diff options
author | devicenull <devicenull@users.noreply.github.com> | 2017-01-10 16:42:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 16:42:28 -0500 |
commit | 7f84a8c67438e433e3359de03d7ef82fd025799c (patch) | |
tree | 4bf17305908f5a0b93b4b908d519095841e7a993 | |
parent | 10ef623e5cf57de70f31063e9efde23e6d00ef75 (diff) |
Ensure config gets returned even if no replacements are done
-rw-r--r-- | lib/oxidized/model/fiberdriver.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/fiberdriver.rb b/lib/oxidized/model/fiberdriver.rb index c8a7f6a..abe8f68 100644 --- a/lib/oxidized/model/fiberdriver.rb +++ b/lib/oxidized/model/fiberdriver.rb @@ -14,6 +14,7 @@ class FiberDriver < Oxidized::Model cfg.gsub! /^Building configuration.*$/, '' cfg.gsub! /^Current configuration:.*$$/, '' cfg.gsub! /^! Configuration saved on .*$/, '' + cfg end cfg :ssh do |