Skip to content

Commit

Permalink
Fix frozen input by returning a new hash
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Nov 16, 2022
1 parent 7af6395 commit 235abe9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/datadog/tracing/contrib/redis/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def self.included(base)
# Instance method patch for redis instance
module InstanceMethods
def initialize(options = {})
options[:redis_instance] = self

super(options)
super(options.merge(redis_instance: self))
end
end
end
Expand Down

0 comments on commit 235abe9

Please sign in to comment.