{"action":"closed","number":22022,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/22022","id":66437842,"html_url":"https://github.com/docker/docker/pull/22022","diff_url":"https://github.com/docker/docker/pull/22022.diff","patch_url":"https://github.com/docker/docker/pull/22022.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/22022","number":22022,"state":"closed","locked":false,"title":"Clean up unused code","user":{"login":"AkihiroSuda","id":9248427,"avatar_url":"https://avatars.githubusercontent.com/u/9248427?v=3","gravatar_id":"","url":"https://api.github.com/users/AkihiroSuda","html_url":"https://github.com/AkihiroSuda","followers_url":"https://api.github.com/users/AkihiroSuda/followers","following_url":"https://api.github.com/users/AkihiroSuda/following{/other_user}","gists_url":"https://api.github.com/users/AkihiroSuda/gists{/gist_id}","starred_url":"https://api.github.com/users/AkihiroSuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkihiroSuda/subscriptions","organizations_url":"https://api.github.com/users/AkihiroSuda/orgs","repos_url":"https://api.github.com/users/AkihiroSuda/repos","events_url":"https://api.github.com/users/AkihiroSuda/events{/privacy}","received_events_url":"https://api.github.com/users/AkihiroSuda/received_events","type":"User","site_admin":false},"body":"**- What I did**\r\nCleaned up the unused code.\r\n\r\n**- How I did it**\r\nUsed [go-unused](https://github.com/dominikh/go-unused) for the initial inspection, and carefully removed some code that won't affect compatibility.\r\n\r\n**- How to verify it**\r\nJust run `make`.\r\n\r\nSigned-off-by: Akihiro Suda <suda.kyoto@gmail.com>","created_at":"2016-04-14T07:10:44Z","updated_at":"2016-04-14T19:21:47Z","closed_at":"2016-04-14T19:21:47Z","merged_at":"2016-04-14T19:21:47Z","merge_commit_sha":"9e4b5e06f0618a9feca3ab07b1b4a6c6fde05409","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/22022/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/22022/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/22022/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/d231260868507174d60ff58b18b14fa5bc2d5b66","head":{"label":"AkihiroSuda:fixunused","ref":"fixunused","sha":"d231260868507174d60ff58b18b14fa5bc2d5b66","user":{"login":"AkihiroSuda","id":9248427,"avatar_url":"https://avatars.githubusercontent.com/u/9248427?v=3","gravatar_id":"","url":"https://api.github.com/users/AkihiroSuda","html_url":"https://github.com/AkihiroSuda","followers_url":"https://api.github.com/users/AkihiroSuda/followers","following_url":"https://api.github.com/users/AkihiroSuda/following{/other_user}","gists_url":"https://api.github.com/users/AkihiroSuda/gists{/gist_id}","starred_url":"https://api.github.com/users/AkihiroSuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkihiroSuda/subscriptions","organizations_url":"https://api.github.com/users/AkihiroSuda/orgs","repos_url":"https://api.github.com/users/AkihiroSuda/repos","events_url":"https://api.github.com/users/AkihiroSuda/events{/privacy}","received_events_url":"https://api.github.com/users/AkihiroSuda/received_events","type":"User","site_admin":false},"repo":{"id":51440731,"name":"docker","full_name":"AkihiroSuda/docker","owner":{"login":"AkihiroSuda","id":9248427,"avatar_url":"https://avatars.githubusercontent.com/u/9248427?v=3","gravatar_id":"","url":"https://api.github.com/users/AkihiroSuda","html_url":"https://github.com/AkihiroSuda","followers_url":"https://api.github.com/users/AkihiroSuda/followers","following_url":"https://api.github.com/users/AkihiroSuda/following{/other_user}","gists_url":"https://api.github.com/users/AkihiroSuda/gists{/gist_id}","starred_url":"https://api.github.com/users/AkihiroSuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkihiroSuda/subscriptions","organizations_url":"https://api.github.com/users/AkihiroSuda/orgs","repos_url":"https://api.github.com/users/AkihiroSuda/repos","events_url":"https://api.github.com/users/AkihiroSuda/events{/privacy}","received_events_url":"https://api.github.com/users/AkihiroSuda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AkihiroSuda/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/AkihiroSuda/docker","forks_url":"https://api.github.com/repos/AkihiroSuda/docker/forks","keys_url":"https://api.github.com/repos/AkihiroSuda/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AkihiroSuda/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AkihiroSuda/docker/teams","hooks_url":"https://api.github.com/repos/AkihiroSuda/docker/hooks","issue_events_url":"https://api.github.com/repos/AkihiroSuda/docker/issues/events{/number}","events_url":"https://api.github.com/repos/AkihiroSuda/docker/events","assignees_url":"https://api.github.com/repos/AkihiroSuda/docker/assignees{/user}","branches_url":"https://api.github.com/repos/AkihiroSuda/docker/branches{/branch}","tags_url":"https://api.github.com/repos/AkihiroSuda/docker/tags","blobs_url":"https://api.github.com/repos/AkihiroSuda/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AkihiroSuda/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AkihiroSuda/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/AkihiroSuda/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AkihiroSuda/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/AkihiroSuda/docker/languages","stargazers_url":"https://api.github.com/repos/AkihiroSuda/docker/stargazers","contributors_url":"https://api.github.com/repos/AkihiroSuda/docker/contributors","subscribers_url":"https://api.github.com/repos/AkihiroSuda/docker/subscribers","subscription_url":"https://api.github.com/repos/AkihiroSuda/docker/subscription","commits_url":"https://api.github.com/repos/AkihiroSuda/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/AkihiroSuda/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/AkihiroSuda/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/AkihiroSuda/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/AkihiroSuda/docker/contents/{+path}","compare_url":"https://api.github.com/repos/AkihiroSuda/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AkihiroSuda/docker/merges","archive_url":"https://api.github.com/repos/AkihiroSuda/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AkihiroSuda/docker/downloads","issues_url":"https://api.github.com/repos/AkihiroSuda/docker/issues{/number}","pulls_url":"https://api.github.com/repos/AkihiroSuda/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/AkihiroSuda/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/AkihiroSuda/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AkihiroSuda/docker/labels{/name}","releases_url":"https://api.github.com/repos/AkihiroSuda/docker/releases{/id}","deployments_url":"https://api.github.com/repos/AkihiroSuda/docker/deployments","created_at":"2016-02-10T12:50:20Z","updated_at":"2016-02-10T12:50:30Z","pushed_at":"2016-04-14T15:45:31Z","git_url":"git://github.com/AkihiroSuda/docker.git","ssh_url":"git@github.com:AkihiroSuda/docker.git","clone_url":"https://github.com/AkihiroSuda/docker.git","svn_url":"https://github.com/AkihiroSuda/docker","homepage":"http://www.docker.com","size":88293,"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":"cb87b6eb6a955e5a66b17e0a15557f37f76b85c0","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-04-14T16:21:15Z","pushed_at":"2016-04-14T19:21:47Z","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":145776,"stargazers_count":30431,"watchers_count":30431,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8611,"mirror_url":null,"open_issues_count":1487,"forks":8611,"open_issues":1487,"watchers":30431,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/22022"},"html":{"href":"https://github.com/docker/docker/pull/22022"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/22022"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/22022/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/22022/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/22022/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/d231260868507174d60ff58b18b14fa5bc2d5b66"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"calavera","id":1050,"avatar_url":"https://avatars.githubusercontent.com/u/1050?v=3","gravatar_id":"","url":"https://api.github.com/users/calavera","html_url":"https://github.com/calavera","followers_url":"https://api.github.com/users/calavera/followers","following_url":"https://api.github.com/users/calavera/following{/other_user}","gists_url":"https://api.github.com/users/calavera/gists{/gist_id}","starred_url":"https://api.github.com/users/calavera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calavera/subscriptions","organizations_url":"https://api.github.com/users/calavera/orgs","repos_url":"https://api.github.com/users/calavera/repos","events_url":"https://api.github.com/users/calavera/events{/privacy}","received_events_url":"https://api.github.com/users/calavera/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":62,"changed_files":4}}