summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/junos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb
index 6ba18ad..949a757 100644
--- a/lib/oxidized/model/junos.rb
+++ b/lib/oxidized/model/junos.rb
@@ -42,8 +42,8 @@ class JunOS < Oxidized::Model
end
cmd('show chassis environment') do |cfg|
- cfg.gsub! /\d+ degrees.* F/, '<measurement stripped>'
- cfg.gsub! /Spinning at \S+/, '<measurement stripped>'
+ cfg.gsub!(/\d+ degrees.* F/, '<measurement stripped>')
+ cfg.gsub!(/Spinning at \S+/, '<measurement stripped>')
comment cfg
end
cmd('show chassis firmware') { |cfg| comment cfg }