Skip to content

Commit

Permalink
[contrib:redis] nitpick, removed useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoot committed Apr 5, 2017
1 parent bba7ae5 commit 32f54a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ddtrace/contrib/redis/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def patch_redis_client
def initialize(*args)
pin = Datadog::Pin.new(SERVICE, app: 'redis', app_type: Datadog::Ext::AppTypes::DB)
pin.onto(self)
if pin.tracer && pin.service && pin.app && pin.app_type
if pin.tracer && pin.service
pin.tracer.set_service_info(pin.service, pin.app, pin.app_type)
end
initialize_without_datadog(*args)
Expand Down

0 comments on commit 32f54a7

Please sign in to comment.