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

[receiver/filelog] fix behavior of add operator when using env function #26374

Closed
wants to merge 1 commit into from

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Sep 1, 2023

Description:
Fix the behavior of the add operator to continue to support EXPR(env("MY_ENV_VAR")) expressions

Link to tracking Issue:
#26373

Testing:
Unit test.

@atoulme atoulme force-pushed the fix_os_env_func_add branch from 91fbb8b to df3ed90 Compare September 1, 2023 21:58
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @atoulme!

@djaglowski
Copy link
Member

@atoulme, thanks for tracking down the problem and putting together a fix.

I started putting together some feedback but ended up prototyping what I would suggest, so I just opened an alternative PR for this. Basically, I think the fix should be incorporated into the helper package in order to make it more standardized. I also think it's sufficient and better to localize the unit test to the operator.

@atoulme
Copy link
Contributor Author

atoulme commented Sep 5, 2023

Closing in favor of #26467

@atoulme atoulme closed this Sep 5, 2023
djaglowski added a commit that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants