Skip to content

Fix handling of missing required env variable #3

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

Merged
merged 2 commits into from
Aug 12, 2025

Conversation

bertrand-lorentz
Copy link
Contributor

Ensure the error message is displayed correctly when a required env variable is missing: add missing "echo" command and put the variable name in simple quotes instead of backticks so that it's not executed as a command.

Fixes issue #1.

Ensure the error message is displayed correctly when a required env
variable is missing: add missing "echo" command and put the variable
name in simple quotes instead of backticks so that it's not executed as
a command.

Fixes issue joseluisq#1.
@joseluisq joseluisq added bug Something isn't working bugfix and removed bug Something isn't working labels Aug 12, 2025
@joseluisq joseluisq linked an issue Aug 12, 2025 that may be closed by this pull request
@joseluisq
Copy link
Owner

I believe you are right. https://github.com/joseluisq/docker-mysql-client/actions/runs/16909076871/job/47906881204?pr=3#step:6:682

Let's get first #4, then you can sync this PR.

@joseluisq joseluisq merged commit 6ab7332 into joseluisq:master Aug 12, 2025
1 check passed
@joseluisq
Copy link
Owner

Thanks 👍

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

Successfully merging this pull request may close these issues.

mysql_exporter and mysql_importer have confusing error messages
2 participants