-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
regex_replace_chars is not inherited by context (follow-up on #55) #57
Comments
I think it's ok.
will take it from the var if provided, or from context_or_default (which will take it from the var, even if it's empty, if not provided in the context). we don't need four local vars for this (as we do for |
But the var is *always* provided. It has a default value.
…On Monday, April 8, 2019, Andriy Knysh wrote:
I think it's ok.
regex_replace_chars = "${var.regex_replace_chars != "" ? var.regex_replace_chars : local.regex_replace_chars_context_or_default}"
will take it from the var if provided, or from context_or_default.
we don't need four local vars for this (as we do for name, namesoace, etc.) since we are not replacing the chars in regex_replace_chars
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
--
Sent from my Jolla
|
See example:
It will output |
@rfvermut thanks, you are correct.
|
I am closing this as I think it has been fixed by #99 if not before. In any case, it does not reflect the current design. Please open a new issue if you still have this problem. |
I believe it didn't fix the problem. You forgot
regex_replace_chars_or_context
and as result this line is always setting default regex_chars.The text was updated successfully, but these errors were encountered: