{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/87963080","pull_request_review_id":8551189,"id":87963080,"diff_hunk":"@@ -78,7 +78,7 @@ func ParseForm(r *http.Request) error {\n \n // VersionFromContext returns an API version from the context using APIVersionKey.\n // It panics if the context value does not have version.Version type.\n-func VersionFromContext(ctx context.Context) (ver string) {\n+func VersionFromContext(ctx context.Context) string {\n \tif ctx == nil {\n \t\treturn","path":"api/server/httputils/httputils.go","position":null,"original_position":7,"commit_id":"71ea9a684d5b36c7bacc66ceb22be2eb393eedb4","original_commit_id":"0c4ca4ca76147be5c52e1388dc10f6505e0d66b8","user":{"login":"zteBill","id":23159916,"avatar_url":"https://avatars.githubusercontent.com/u/23159916?v=3","gravatar_id":"","url":"https://api.github.com/users/zteBill","html_url":"https://github.com/zteBill","followers_url":"https://api.github.com/users/zteBill/followers","following_url":"https://api.github.com/users/zteBill/following{/other_user}","gists_url":"https://api.github.com/users/zteBill/gists{/gist_id}","starred_url":"https://api.github.com/users/zteBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zteBill/subscriptions","organizations_url":"https://api.github.com/users/zteBill/orgs","repos_url":"https://api.github.com/users/zteBill/repos","events_url":"https://api.github.com/users/zteBill/events{/privacy}","received_events_url":"https://api.github.com/users/zteBill/received_events","type":"User","site_admin":false},"body":"I retain 'ver' and make it useful. Please check it for me, thanks~","created_at":"2016-11-15T07:53:18Z","updated_at":"2016-11-15T07:53:18Z","html_url":"https://github.com/docker/docker/pull/28383#discussion_r87963080","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/28383","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/87963080"},"html":{"href":"https://github.com/docker/docker/pull/28383#discussion_r87963080"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/28383"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/28383","id":93532327,"html_url":"https://github.com/docker/docker/pull/28383","diff_url":"https://github.com/docker/docker/pull/28383.diff","patch_url":"https://github.com/docker/docker/pull/28383.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/28383","number":28383,"state":"open","locked":false,"title":"Remove needless var","user":{"login":"zteBill","id":23159916,"avatar_url":"https://avatars.githubusercontent.com/u/23159916?v=3","gravatar_id":"","url":"https://api.github.com/users/zteBill","html_url":"https://github.com/zteBill","followers_url":"https://api.github.com/users/zteBill/followers","following_url":"https://api.github.com/users/zteBill/following{/other_user}","gists_url":"https://api.github.com/users/zteBill/gists{/gist_id}","starred_url":"https://api.github.com/users/zteBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zteBill/subscriptions","organizations_url":"https://api.github.com/users/zteBill/orgs","repos_url":"https://api.github.com/users/zteBill/repos","events_url":"https://api.github.com/users/zteBill/events{/privacy}","received_events_url":"https://api.github.com/users/zteBill/received_events","type":"User","site_admin":false},"body":"\r\n**- I found func VersionFromContext(ctx context.Context) (var string)  'var' is needless!**\r\n\r\n**- I delete 'var'**\r\n\r\n**- I accorded to Go standard and in IDE there was no unused reminder**\r\n\r\n**- Remmove needless variable**\r\n\r\n\r\n\r\nSigned-off-by: zteBill <bi.zhenkun@zte.com.cn>","created_at":"2016-11-14T09:27:39Z","updated_at":"2016-11-15T07:53:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c2b741dc9f20d65557ce4940a18b37464e5efa9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/28383/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/28383/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/28383/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/71ea9a684d5b36c7bacc66ceb22be2eb393eedb4","head":{"label":"zteBill:fix-useless-var","ref":"fix-useless-var","sha":"71ea9a684d5b36c7bacc66ceb22be2eb393eedb4","user":{"login":"zteBill","id":23159916,"avatar_url":"https://avatars.githubusercontent.com/u/23159916?v=3","gravatar_id":"","url":"https://api.github.com/users/zteBill","html_url":"https://github.com/zteBill","followers_url":"https://api.github.com/users/zteBill/followers","following_url":"https://api.github.com/users/zteBill/following{/other_user}","gists_url":"https://api.github.com/users/zteBill/gists{/gist_id}","starred_url":"https://api.github.com/users/zteBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zteBill/subscriptions","organizations_url":"https://api.github.com/users/zteBill/orgs","repos_url":"https://api.github.com/users/zteBill/repos","events_url":"https://api.github.com/users/zteBill/events{/privacy}","received_events_url":"https://api.github.com/users/zteBill/received_events","type":"User","site_admin":false},"repo":{"id":73684381,"name":"docker","full_name":"zteBill/docker","owner":{"login":"zteBill","id":23159916,"avatar_url":"https://avatars.githubusercontent.com/u/23159916?v=3","gravatar_id":"","url":"https://api.github.com/users/zteBill","html_url":"https://github.com/zteBill","followers_url":"https://api.github.com/users/zteBill/followers","following_url":"https://api.github.com/users/zteBill/following{/other_user}","gists_url":"https://api.github.com/users/zteBill/gists{/gist_id}","starred_url":"https://api.github.com/users/zteBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zteBill/subscriptions","organizations_url":"https://api.github.com/users/zteBill/orgs","repos_url":"https://api.github.com/users/zteBill/repos","events_url":"https://api.github.com/users/zteBill/events{/privacy}","received_events_url":"https://api.github.com/users/zteBill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zteBill/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/zteBill/docker","forks_url":"https://api.github.com/repos/zteBill/docker/forks","keys_url":"https://api.github.com/repos/zteBill/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zteBill/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zteBill/docker/teams","hooks_url":"https://api.github.com/repos/zteBill/docker/hooks","issue_events_url":"https://api.github.com/repos/zteBill/docker/issues/events{/number}","events_url":"https://api.github.com/repos/zteBill/docker/events","assignees_url":"https://api.github.com/repos/zteBill/docker/assignees{/user}","branches_url":"https://api.github.com/repos/zteBill/docker/branches{/branch}","tags_url":"https://api.github.com/repos/zteBill/docker/tags","blobs_url":"https://api.github.com/repos/zteBill/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zteBill/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zteBill/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/zteBill/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zteBill/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/zteBill/docker/languages","stargazers_url":"https://api.github.com/repos/zteBill/docker/stargazers","contributors_url":"https://api.github.com/repos/zteBill/docker/contributors","subscribers_url":"https://api.github.com/repos/zteBill/docker/subscribers","subscription_url":"https://api.github.com/repos/zteBill/docker/subscription","commits_url":"https://api.github.com/repos/zteBill/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/zteBill/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/zteBill/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/zteBill/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/zteBill/docker/contents/{+path}","compare_url":"https://api.github.com/repos/zteBill/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zteBill/docker/merges","archive_url":"https://api.github.com/repos/zteBill/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zteBill/docker/downloads","issues_url":"https://api.github.com/repos/zteBill/docker/issues{/number}","pulls_url":"https://api.github.com/repos/zteBill/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/zteBill/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/zteBill/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zteBill/docker/labels{/name}","releases_url":"https://api.github.com/repos/zteBill/docker/releases{/id}","deployments_url":"https://api.github.com/repos/zteBill/docker/deployments","created_at":"2016-11-14T08:41:21Z","updated_at":"2016-11-14T08:41:39Z","pushed_at":"2016-11-15T01:19:28Z","git_url":"git://github.com/zteBill/docker.git","ssh_url":"git@github.com:zteBill/docker.git","clone_url":"https://github.com/zteBill/docker.git","svn_url":"https://github.com/zteBill/docker","homepage":"http://www.docker.com","size":112147,"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":"ccba7911c80583c1a45ea329a8d337dcd4f6f70e","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-11-15T07:38:35Z","pushed_at":"2016-11-15T07:51:50Z","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":223455,"stargazers_count":36866,"watchers_count":36866,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10918,"mirror_url":null,"open_issues_count":1899,"forks":10918,"open_issues":1899,"watchers":36866,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/28383"},"html":{"href":"https://github.com/docker/docker/pull/28383"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/28383"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/28383/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/28383/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/28383/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/71ea9a684d5b36c7bacc66ceb22be2eb393eedb4"}}}}
{"actor":{"display_login":"zteBill"}}