{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/3921","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/3921/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/3921/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/3921/events","html_url":"https://github.com/influxdata/telegraf/issues/3921","id":307564420,"number":3921,"title":"build failure  with the error: plugins\\inputs\\docker\\client.go:38:25: undefined: client.ParseHost","user":{"login":"szlanyou","id":37572808,"avatar_url":"https://avatars1.githubusercontent.com/u/37572808?v=4","gravatar_id":"","url":"https://api.github.com/users/szlanyou","html_url":"https://github.com/szlanyou","followers_url":"https://api.github.com/users/szlanyou/followers","following_url":"https://api.github.com/users/szlanyou/following{/other_user}","gists_url":"https://api.github.com/users/szlanyou/gists{/gist_id}","starred_url":"https://api.github.com/users/szlanyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szlanyou/subscriptions","organizations_url":"https://api.github.com/users/szlanyou/orgs","repos_url":"https://api.github.com/users/szlanyou/repos","events_url":"https://api.github.com/users/szlanyou/events{/privacy}","received_events_url":"https://api.github.com/users/szlanyou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-22T09:29:08Z","updated_at":"2018-03-22T18:00:59Z","closed_at":null,"author_association":"NONE","body":"## Directions\r\n\r\n## Bug report\r\nexecute the script : make telegraf, but it failure with the error: plugins\\inputs\\docker\\client.go:38:25: undefined: client.ParseHost\r\n### Relevant telegraf.conf:\r\n\r\n### System info:\r\n\r\n\r\n### Steps to reproduce:\r\n\r\n1、do it failure :+1: go get github.com/docker/docker  \r\n2、try another way: git clone  https://github.com/moby/moby.git docker\r\n3、do it \"make telegraf\" again，but it failure with the error: plugins\\inputs\\docker\\client.go:38:25: undefined: client.ParseHost\r\n\r\n### Expected behavior:\r\n\r\n### Actual behavior:\r\n\r\n### Additional info:\r\n\r\n[Include gist of relevant config, logs, etc.]\r\n\r\n\r\n## Feature Request\r\n\r\nOpening a feature request kicks off a discussion.\r\n\r\n### Proposal:\r\n\r\n### Current behavior:\r\n\r\n### Desired behavior:\r\n\r\n### Use case: [Why is this important (helps with prioritizing requests)]\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/375402697","html_url":"https://github.com/influxdata/telegraf/issues/3921#issuecomment-375402697","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/3921","id":375402697,"user":{"login":"danielnelson","id":1048079,"avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T18:00:59Z","updated_at":"2018-03-22T18:00:59Z","author_association":"CONTRIBUTOR","body":"Looks like they removed the `ParseHost` function https://github.com/moby/moby/commit/54242cd067c234960d1295a67271475f9d099f22\r\n\r\nMake sure you are using the sha in the Godeps files, you can run `make` which runs `gdm restore` and checks out the appropriate versions.\r\n\r\nWe can update the docker the plugin and the docker/mobdy library in the 1.7 milestone."}}
{"actor":{"display_login":"danielnelson"}}