summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-02-22 15:50:41 +0200
committerSaku Ytti <saku@ytti.fi>2016-02-22 15:50:41 +0200
commit2543d95d150844eb6e619f6c99dd26fc9b1d1084 (patch)
treecbce01b147cfe4213b22df28db8ffb3773ee0137
parentbede61d4bcd1cfbf5e6286c84654049124e71150 (diff)
don't comment running config
spotted by @str4nd
-rw-r--r--lib/oxidized/model/edgeswitch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index c631f7d..31014da 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -7,7 +7,7 @@ class EdgeSwitch < Oxidized::Model
prompt /[(]\w*\s\w*[)][\s#>]*[\s#>]/
cmd 'show running-config' do |cfg|
- comment cfg.each_line.reject { |line| line.match /System Up Time.*/ or line.match /Current SNTP Synchronized Time.*/ }.join
+ cfg.each_line.reject { |line| line.match /System Up Time.*/ or line.match /Current SNTP Synchronized Time.*/ }.join
end
cfg :telnet do