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

Remove double quotes from source_labels value with gsub #213

Merged
merged 1 commit into from
Jun 18, 2018
Merged

Remove double quotes from source_labels value with gsub #213

merged 1 commit into from
Jun 18, 2018

Conversation

sebastianrakel
Copy link
Member

Pull Request (PR) description

The value in source_labels have to be without quotes, but sometimes you
have to use brackets in the value and puppet surrounds it with double
quotes.

So we need to replace the double quotes with nothing in the template

The value in source_labels have to be without quotes, but sometimes you
have to use brackets in the value and puppet surrounds it with double
quotes.

So we need to replace the double quotes with nothing in the template
@bastelfreak bastelfreak added the bug Something isn't working label Jun 18, 2018
@bastelfreak
Copy link
Member

Thanks for the PR @sebastianrakel !

@bastelfreak bastelfreak merged commit f076a4f into voxpupuli:master Jun 18, 2018
@sebastianrakel sebastianrakel changed the title Remove double quotes from source_labels value with gsub [WIP] Remove double quotes from source_labels value with gsub Jun 18, 2018
@sebastianrakel sebastianrakel changed the title [WIP] Remove double quotes from source_labels value with gsub Remove double quotes from source_labels value with gsub Jun 18, 2018
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Remove double quotes from source_labels value with gsub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants