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: make influxd help more specific #19939

Merged
merged 1 commit into from
Nov 9, 2020
Merged

fix: make influxd help more specific #19939

merged 1 commit into from
Nov 9, 2020

Conversation

danxmoran
Copy link
Contributor

Closes #19929

The help text for influxd says that config.yaml will be used as a default, if found. As far as I can tell from reading this, the CLI will actually find any of config.{json|toml|yaml|yml}.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Feature flagged (if modified API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@@ -121,7 +121,7 @@ func NewInfluxdCommand(ctx context.Context, subCommands ...*cobra.Command) *cobr

A config file can be provided via the INFLUXD_CONFIG_PATH env var. If a file is
not provided via an env var, influxd will look in the current directory for a
config.yaml file. If one does not exist, then it will continue unchanged.`
config.{json|toml|yaml|yml} file. If one does not exist, then it will continue unchanged.`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure if this is the best way to explain that any of these extensions are valid

@danxmoran danxmoran merged commit ca547cf into master Nov 9, 2020
@danxmoran danxmoran deleted the dm-doc-fix-19929 branch November 9, 2020 16:45
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.

upgrade process generates a file named config.toml but default used by 2.x is config.yaml
2 participants