Permalink
Browse files

unless nil, of course :)

  • Loading branch information...
1 parent b405bcf commit d3da92aaadda5e2a0196834101299c3534b98e06 @logankoester logankoester committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/strumbar/instrumentation/redis.rb
View
2 lib/strumbar/instrumentation/redis.rb
@@ -12,7 +12,7 @@ def self.load
else event.payload[:command].join('_')
end
- command.gsub!(/:/, '_')
+ command.gsub!(/:/, '_') unless command.nil?
client.timing "#{command}.redis", event.duration
end

0 comments on commit d3da92a

Please sign in to comment.