lib/ddtrace/contrib/redis/quantize.rb in ddtrace-0.45.0 vs lib/ddtrace/contrib/redis/quantize.rb in ddtrace-0.46.0
- old
+ new
@@ -54,9 +54,10 @@
"#{verb} #{command_args[1]}"
end
def auth_command?(command_args)
return false unless command_args.is_a?(Array) && !command_args.empty?
+
command_args.first.to_sym == :auth
end
# Unwraps command array when Redis is called with the following syntax:
# redis.call([:cmd, 'arg1', ...])