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

fix(taps): Replace hyphens with underscores when generating expected env var name <PLUGIN_NAME>_LOGLEVEL #1308

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

adherr
Copy link
Contributor

@adherr adherr commented Jan 4, 2023

Currently, we're looking for cls.name.upper(), with hyphens intact. Since hyphens are not allowed in shell variable names, this makes it impossible to set the loglevel for a single tap. This change makes this variable match other plugin specific variables by replacing hyphens with underscores.

Also, fix a formatting glitch in the contributing guide.


📚 Documentation preview 📚: https://meltano-sdk--1308.org.readthedocs.build/en/1308/

Currently, we're looking for `cls.name.upper()`, with hyphens intact. This change makes this
variable match other plugin specific variables by replacing hyphens with underscores.

Also, fix a formatting glitch in the contributing guide.
@edgarrmondragon edgarrmondragon changed the title fix(taps): lookup of the <PLUGIN_NAME>_LOGLEVEL var fix(taps): Replace hyphens with underscores when generating expected env var name <PLUGIN_NAME>_LOGLEVEL Jan 4, 2023
Copy link
Contributor

@aaronsteers aaronsteers left a comment

Choose a reason for hiding this comment

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

@adherr - Thanks very much for this contribution!

@edgarrmondragon
Copy link
Collaborator

Thanks @adherr, merging now!

@edgarrmondragon edgarrmondragon merged commit 2773841 into meltano:main Jan 4, 2023
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.

3 participants