Permalink
Browse files

Be a little tighter with Picky detection

  • Loading branch information...
1 parent 9d40136 commit c2ba5dd3f7e4235a42ac02b3596d2be55fbcd073 Sam Goldstein committed Dec 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rpm_contrib/instrumentation/picky.rb
@@ -18,7 +18,7 @@ def self.obfuscate_tokens tokens
@name = :picky
depends_on do
- defined?(::Picky) && !NewRelic::Control.instance['disable_picky']
+ defined?(::Picky::Search) && !NewRelic::Control.instance['disable_picky']
end
executes do
@@ -38,4 +38,4 @@ def execute_with_newrelic_trace *args
alias_method :execute, :execute_with_newrelic_trace
end
end
-end
+end

0 comments on commit c2ba5dd

Please sign in to comment.