Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config): keep the lookup value as passed #4901

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blemoine
Copy link

The previous version was transforming the lookup
parameter to a string.

What does this PR do?

Prevent the erroneous transformation of lookup parameter into a string. It must be kept as a function

Motivation

The bug described in #4894 : nodejs throws an error if lookup is transformed into a string

Closes #4894

The previous version was transforming the lookup
parameter to a string.

Closes DataDog#4894
@blemoine blemoine requested a review from a team as a code owner November 18, 2024 13:54
@simon-id
Copy link
Member

Thank you for the contribution. I've shared this PR to the relevant people, hopefully it'll get some attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lookup function throws The "options.lookup" property must be of type function. Received type string in 4.49.0
2 participants