diff --git a/lib/tasks/instrumentation_generator/templates/chain.tt b/lib/tasks/instrumentation_generator/templates/chain.tt index 795809b6a9..04d7459dd3 100644 --- a/lib/tasks/instrumentation_generator/templates/chain.tt +++ b/lib/tasks/instrumentation_generator/templates/chain.tt @@ -9,7 +9,6 @@ module NewRelic::Agent::Instrumentation include NewRelic::Agent::Instrumentation::<%= @class_name %> alias_method(:<%= @method.downcase %>_without_new_relic, :<%= @method.downcase %>) - alias_method(:<%= @method.downcase %>, :<%= @method.downcase %>_with_new_relic) def <%= @method.downcase %><%= "(#{@args})" unless @args.empty? %> <%= @method.downcase %>_with_new_relic<%= "(#{@args})" unless @args.empty? %> do