Skip to content

Commit

Permalink
Change cfg.sub! to cfg.gsub (#3065)
Browse files Browse the repository at this point in the history
  • Loading branch information
patchint authored Feb 14, 2024
1 parent 63cc441 commit 2142210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/sros.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class SROS < Oxidized::Model
#
# Strip uptime.
#
cfg.sub! /^System Up Time.*\n/, ''
cfg.gsub! /^System Up Time.*$/, ''
comment cfg
end

Expand Down

0 comments on commit 2142210

Please sign in to comment.