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

cmd/telegraf: -configdirectory only includes files ending in .conf #395

Closed
wants to merge 1 commit into from

Conversation

SpComb
Copy link
Contributor

@SpComb SpComb commented Nov 25, 2015

This requirement doesn't seem to be documented anywhere except by digging through the code:

    if name[len(name)-5:] != ".conf" {
        continue
    }

https://github.com/influxdb/telegraf/blob/889c0a50a4aeaf4b343fbd7d2b8d9236cfc25a5b/config.go#L415

@sparrc
Copy link
Contributor

sparrc commented Nov 26, 2015

looks good, thanks!

@sparrc
Copy link
Contributor

sparrc commented Nov 26, 2015

closed by d505be1

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