Skip to content

Commit d3aff8c

Browse files
fix(redis): alias format_command_args (#3822) (#3823)
#3299 moved a utility function in the redis integration as part of a refactoring. This breaks the library's versioning policy for a minor release. We add back this function as an alias to the new function. ## Checklist - [ ] Library documentation is updated. - [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR). ## Reviewer Checklist - [ ] Title is accurate. - [ ] Description motivates each change. - [ ] No unnecessary changes were introduced in this PR. - [ ] PR cannot be broken up into smaller PRs. - [ ] Avoid breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [ ] Tests provided or description of manual testing performed is included in the code or PR. - [ ] Release note has been added for fixes and features, or else `changelog/no-changelog` label added. - [ ] All relevant GitHub issues are correctly linked. - [ ] Backports are identified and tagged with Mergifyio. - [ ] Add to milestone. (cherry picked from commit 77d3a2d) Co-authored-by: Tahir H. Butt <[email protected]>
1 parent a8d1c46 commit d3aff8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ddtrace/contrib/redis/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
from ...internal.utils.formats import stringify_cache_args
1313

1414

15+
format_command_args = stringify_cache_args
16+
17+
1518
def _extract_conn_tags(conn_kwargs):
1619
"""Transform redis conn info into dogtrace metas"""
1720
try:

0 commit comments

Comments
 (0)