Input/Output linting prevents usage of Environment Variables #3048
Replies: 3 comments 1 reply
-
Hey @AndreasBergmeier6176, thanks for raising that! Would it be possible for you to set a default value for your environment variables? For example LE: Moving to a discussion as per #2026. |
Beta Was this translation helpful? Give feedback.
-
You are correct that technically introducing a default value for an environment variable could fix the linting. |
Beta Was this translation helpful? Give feedback.
-
Just defining the Environment Variable when running lint is sufficient though - so fine for me. |
Beta Was this translation helpful? Give feedback.
-
When having Linting like in:
connect/internal/impl/kafka/input_kafka_franz.go
Line 61 in 5a64fed
it forces Unit-Testing to fail since at lint time, the Environment Variables are not yet set and then in turn the lint check fails.
This change broke some of our pipelines recently.
Beta Was this translation helpful? Give feedback.
All reactions