summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 11:23:59 -0500
committerElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 11:23:59 -0500
commit7312e8ef0d10d8846c69d6962e98a450e6950bc9 (patch)
tree97e6d819b0ce615bf10dcb2ce35f37b54b316a51 /lib/oxidized
parent13d89b7e1a4f91728e528a5290779bcf4b645a6a (diff)
use paranthesis for method call
Diffstat (limited to 'lib/oxidized')
-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 }