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

Added quote information for absolute paths #1137

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

DennisGaida
Copy link
Contributor

This had me running in circles because ioutil.ReadFile did not read the local file for me when running as a service (i.e. config.yml in the same folder as the windows_exporter.exe). I had to use absolute paths and additionally quote them.

This had me running in circles because `ioutil.ReadFile` did not read the local file for me when running as a service (i.e. `config.yml` in the same folder as the `windows_exporter.exe`). I had to use absolute paths and additionally quote them.

Signed-off-by: Dennis Gaida <2392217+DennisGaida@users.noreply.github.com>
@DennisGaida DennisGaida requested a review from a team as a code owner February 15, 2023 15:40
Copy link
Contributor

@breed808 breed808 left a comment

Choose a reason for hiding this comment

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

👍

@breed808 breed808 merged commit 12e5422 into prometheus-community:master Feb 24, 2023
anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
Added quote information for absolute paths
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