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

Check if environment variables are not empty strings as well as not null #623

Merged
merged 1 commit into from
Feb 20, 2022
Merged

Check if environment variables are not empty strings as well as not null #623

merged 1 commit into from
Feb 20, 2022

Conversation

SerialVelocity
Copy link
Contributor

@SerialVelocity SerialVelocity commented Feb 20, 2022

When trying to use teedy with the k8s-at-home chart, it sets the environment variables to be empty strings when not set.

This is actually quite common so usually Strings.isNullOrEmpty or similar is used to check if that is the case. You do this in one or two places in your codebase already. This just makes the codebase consistently do this.

A bug has been filed on k8s-at-home too: k8s-at-home/charts#1422

@jendib
Copy link
Member

jendib commented Feb 20, 2022

It makes sense, thanks for that 👍

@jendib jendib merged commit 0b7c42e into sismics:master Feb 20, 2022
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.

2 participants