{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/50700180","id":50700180,"diff_hunk":"@@ -1658,16 +1659,14 @@ func (s *DockerDaemonSuite) TestDaemonNoTlsCliTlsVerifyWithEnv(c *check.C) {\n \n func setupV6() error {\n \t// Hack to get the right IPv6 address on docker0, which has already been created\n-\terr := exec.Command(\"ip\", \"addr\", \"add\", \"fe80::1/64\", \"dev\", \"docker0\").Run()\n-\tif err != nil {\n+\tif err := exec.Command(\"ip\", \"addr\", \"add\", \"fe80::1/64\", \"dev\", \"docker0\").Run(); err != nil {\n \t\treturn err\n \t}\n \treturn nil\n }\n \n func teardownV6() error {\n-\terr := exec.Command(\"ip\", \"addr\", \"del\", \"fe80::1/64\", \"dev\", \"docker0\").Run()\n-\tif err != nil {\n+\tif err := exec.Command(\"ip\", \"addr\", \"del\", \"fe80::1/64\", \"dev\", \"docker0\").Run(); err != nil {","path":"integration-cli/docker_cli_daemon_test.go","position":84,"original_position":84,"commit_id":"697b4b20a8f7f1572c8fc97239034bf11de308dd","original_commit_id":"697b4b20a8f7f1572c8fc97239034bf11de308dd","user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"body":"```go\r\nerr := exec.Command(...).Run()\r\nreturn err\r\n```","created_at":"2016-01-25T14:38:32Z","updated_at":"2016-01-25T14:38:32Z","html_url":"https://github.com/docker/docker/pull/19658#discussion_r50700180","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/19658","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/50700180"},"html":{"href":"https://github.com/docker/docker/pull/19658#discussion_r50700180"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/19658"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/19658","id":57046182,"html_url":"https://github.com/docker/docker/pull/19658","diff_url":"https://github.com/docker/docker/pull/19658.diff","patch_url":"https://github.com/docker/docker/pull/19658.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/19658","number":19658,"state":"open","locked":false,"title":"Optimize slow bottleneck tests of TestDaemonIPv6FixedCIDR","user":{"login":"wenchma","id":8329027,"avatar_url":"https://avatars.githubusercontent.com/u/8329027?v=3","gravatar_id":"","url":"https://api.github.com/users/wenchma","html_url":"https://github.com/wenchma","followers_url":"https://api.github.com/users/wenchma/followers","following_url":"https://api.github.com/users/wenchma/following{/other_user}","gists_url":"https://api.github.com/users/wenchma/gists{/gist_id}","starred_url":"https://api.github.com/users/wenchma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenchma/subscriptions","organizations_url":"https://api.github.com/users/wenchma/orgs","repos_url":"https://api.github.com/users/wenchma/repos","events_url":"https://api.github.com/users/wenchma/events{/privacy}","received_events_url":"https://api.github.com/users/wenchma/received_events","type":"User","site_admin":false},"body":"This covers `TestDaemonIPv6FixedCIDR` and `TestDaemonIPv6FixedCIDRAndMac`\r\n\r\nTests results:\r\n\r\n    PASS: docker_cli_daemon_test.go:338: DockerDaemonSuite.TestDaemonIPv6FixedCIDR\t1.514s\r\n    PASS: docker_cli_daemon_test.go:380: DockerDaemonSuite.TestDaemonIPv6FixedCIDRAndMac\t1.384s\r\n    OK: 2 passed\r\n\r\nRelated issue #19425 \r\n\r\nSigned-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>","created_at":"2016-01-25T09:30:54Z","updated_at":"2016-01-25T14:38:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be9d4ee8a76e54ed74ac30e0c4a537e98235dcc6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/19658/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/19658/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/19658/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/697b4b20a8f7f1572c8fc97239034bf11de308dd","head":{"label":"wenchma:19425-daemon_ipv6","ref":"19425-daemon_ipv6","sha":"697b4b20a8f7f1572c8fc97239034bf11de308dd","user":{"login":"wenchma","id":8329027,"avatar_url":"https://avatars.githubusercontent.com/u/8329027?v=3","gravatar_id":"","url":"https://api.github.com/users/wenchma","html_url":"https://github.com/wenchma","followers_url":"https://api.github.com/users/wenchma/followers","following_url":"https://api.github.com/users/wenchma/following{/other_user}","gists_url":"https://api.github.com/users/wenchma/gists{/gist_id}","starred_url":"https://api.github.com/users/wenchma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenchma/subscriptions","organizations_url":"https://api.github.com/users/wenchma/orgs","repos_url":"https://api.github.com/users/wenchma/repos","events_url":"https://api.github.com/users/wenchma/events{/privacy}","received_events_url":"https://api.github.com/users/wenchma/received_events","type":"User","site_admin":false},"repo":{"id":44725885,"name":"docker","full_name":"wenchma/docker","owner":{"login":"wenchma","id":8329027,"avatar_url":"https://avatars.githubusercontent.com/u/8329027?v=3","gravatar_id":"","url":"https://api.github.com/users/wenchma","html_url":"https://github.com/wenchma","followers_url":"https://api.github.com/users/wenchma/followers","following_url":"https://api.github.com/users/wenchma/following{/other_user}","gists_url":"https://api.github.com/users/wenchma/gists{/gist_id}","starred_url":"https://api.github.com/users/wenchma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenchma/subscriptions","organizations_url":"https://api.github.com/users/wenchma/orgs","repos_url":"https://api.github.com/users/wenchma/repos","events_url":"https://api.github.com/users/wenchma/events{/privacy}","received_events_url":"https://api.github.com/users/wenchma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wenchma/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/wenchma/docker","forks_url":"https://api.github.com/repos/wenchma/docker/forks","keys_url":"https://api.github.com/repos/wenchma/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wenchma/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wenchma/docker/teams","hooks_url":"https://api.github.com/repos/wenchma/docker/hooks","issue_events_url":"https://api.github.com/repos/wenchma/docker/issues/events{/number}","events_url":"https://api.github.com/repos/wenchma/docker/events","assignees_url":"https://api.github.com/repos/wenchma/docker/assignees{/user}","branches_url":"https://api.github.com/repos/wenchma/docker/branches{/branch}","tags_url":"https://api.github.com/repos/wenchma/docker/tags","blobs_url":"https://api.github.com/repos/wenchma/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wenchma/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wenchma/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/wenchma/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wenchma/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/wenchma/docker/languages","stargazers_url":"https://api.github.com/repos/wenchma/docker/stargazers","contributors_url":"https://api.github.com/repos/wenchma/docker/contributors","subscribers_url":"https://api.github.com/repos/wenchma/docker/subscribers","subscription_url":"https://api.github.com/repos/wenchma/docker/subscription","commits_url":"https://api.github.com/repos/wenchma/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/wenchma/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/wenchma/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/wenchma/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/wenchma/docker/contents/{+path}","compare_url":"https://api.github.com/repos/wenchma/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wenchma/docker/merges","archive_url":"https://api.github.com/repos/wenchma/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wenchma/docker/downloads","issues_url":"https://api.github.com/repos/wenchma/docker/issues{/number}","pulls_url":"https://api.github.com/repos/wenchma/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/wenchma/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/wenchma/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wenchma/docker/labels{/name}","releases_url":"https://api.github.com/repos/wenchma/docker/releases{/id}","deployments_url":"https://api.github.com/repos/wenchma/docker/deployments","created_at":"2015-10-22T06:16:08Z","updated_at":"2016-01-11T03:57:00Z","pushed_at":"2016-01-25T09:28:51Z","git_url":"git://github.com/wenchma/docker.git","ssh_url":"git@github.com:wenchma/docker.git","clone_url":"https://github.com/wenchma/docker.git","svn_url":"https://github.com/wenchma/docker","homepage":"http://www.docker.com","size":79675,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"5719dca1d7a4aab0abbb8bd7a4d6e09c65c678ea","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker/deployments","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-01-25T14:08:48Z","pushed_at":"2016-01-25T14:36:32Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":125041,"stargazers_count":28075,"watchers_count":28075,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7760,"mirror_url":null,"open_issues_count":1282,"forks":7760,"open_issues":1282,"watchers":28075,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/19658"},"html":{"href":"https://github.com/docker/docker/pull/19658"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/19658"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/19658/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/19658/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/19658/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/697b4b20a8f7f1572c8fc97239034bf11de308dd"}}}}