From ca35b912d5bde6c32d550dccfada67ace972cf5f Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Thu, 14 Jun 2018 22:17:42 +0200 Subject: Scrub uptime in ciscosmb more carefully, closes #1398 (#1400) Scrub uptime in ciscosmb more carefully, closes #1398 --- CHANGELOG.md | 2 +- lib/oxidized/model/ciscosmb.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aa75da..19aa38e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Master -* BUGFIX: model edgecos +* BUGFIX: model edgecos, ciscosmb ## 0.24.0 diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb index e3a7f2a..eef4755 100644 --- a/lib/oxidized/model/ciscosmb.rb +++ b/lib/oxidized/model/ciscosmb.rb @@ -24,7 +24,7 @@ class CiscoSMB < Oxidized::Model end cmd 'show system' do |cfg| - cfg.gsub! /System Up Time.*/, '' + cfg.gsub! /System Up Time.*\n/, '' comment cfg end -- cgit v1.2.1