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 Redis url, an extra "tcp://" was added #1521

Merged
merged 1 commit into from
Jul 19, 2016

Conversation

PierreF
Copy link
Contributor

@PierreF PierreF commented Jul 19, 2016

Required for all PRs:

  • CHANGELOG.md updated
  • Sign CLA (if not already signed)

In PR #1480 a extra "tcp://" was added in default configuration. It was due to a OR instead of AND used in if test.

It result in:

$ ./build/telegraf -input-filter redis -output-filter influxdb -sample-config > sample.conf
$ ./build/telegraf -config sample.conf -test
* Plugin: redis, Collection 1
2016/07/19 15:50:06 Errors encountered: [Unable to connect to redis server 'tcp:': dial tcp: lookup tcp on 127.0.1.1:53: no such host]

@sparrc
Copy link
Contributor

sparrc commented Jul 19, 2016

thx @PierreF

@sparrc sparrc merged commit 42d9d5d into influxdata:master Jul 19, 2016
@PierreF PierreF deleted the redis-url-fix branch August 4, 2018 13:23
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