summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/nxos.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-03-23 13:54:07 +0200
committerGitHub <noreply@github.com>2018-03-23 13:54:07 +0200
commit332066101ef4a089e427509dc00e206b1eeab41a (patch)
treeb112d4f27bbd73f2135b0540ff94f9c7fe3ec58f /lib/oxidized/model/nxos.rb
parente7075d18e055613cb0324f0fc8eecfe7adeeac56 (diff)
parent0878dd2ef1af0a731a647fc0fc4f3a245a0131a9 (diff)
Merge pull request #1239 from uwerler/patch-1
Update nxos.rb
Diffstat (limited to 'lib/oxidized/model/nxos.rb')
-rw-r--r--lib/oxidized/model/nxos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/nxos.rb b/lib/oxidized/model/nxos.rb
index e743415..60d6037 100644
--- a/lib/oxidized/model/nxos.rb
+++ b/lib/oxidized/model/nxos.rb
@@ -22,6 +22,7 @@ class NXOS < Oxidized::Model
cmd 'show running-config' do |cfg|
cfg.gsub! /^!Time:[^\n]*\n/, ''
+ cfg
end
cfg :ssh, :telnet do