{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/89976327","pull_request_review_id":10501741,"id":89976327,"diff_hunk":"@@ -29,30 +29,24 @@ func IDFromDigest(digest digest.Digest) ID {\n \n // V1Image stores the V1 image configuration.\n type V1Image struct {\n-\t// ID a unique 64 character identifier of the image\n-\tID string `json:\"id,omitempty\"`\n-\t// Parent id of the image\n-\tParent string `json:\"parent,omitempty\"`\n-\t// Comment user added comment\n-\tComment string `json:\"comment,omitempty\"`\n-\t// Created timestamp when image was created\n-\tCreated time.Time `json:\"created\"`\n-\t// Container is the id of the container used to commit\n-\tContainer string `json:\"container,omitempty\"`\n+\tID        string    `json:\"id,omitempty\"`        // ID is a unique 64 character identifier of the image\n+\tParent    string    `json:\"parent,omitempty\"`    // Parent id of the image\n+\tComment   string    `json:\"comment,omitempty\"`   // Comment is user added comment\n+\tCreated   time.Time `json:\"created\"`             // Created timestamp when image was created\n+\tContainer string    `json:\"container,omitempty\"` // Container is the id of the container used to commit\n+\n \t// ContainerConfig is the configuration of the container that is committed into the image\n \tContainerConfig container.Config `json:\"container_config,omitempty\"`\n-\t// DockerVersion specifies version on which image is built\n-\tDockerVersion string `json:\"docker_version,omitempty\"`\n-\t// Author of the image\n-\tAuthor string `json:\"author,omitempty\"`\n+\n+\tDockerVersion string `json:\"docker_version,omitempty\"` // DockerVersion specifies version on which image is built\n+\tAuthor        string `json:\"author,omitempty\"`         // Author of the image\n+\n \t// Config is the configuration of the container received from the client\n \tConfig *container.Config `json:\"config,omitempty\"`\n-\t// Architecture is the hardware that the image is build and runs on\n-\tArchitecture string `json:\"architecture,omitempty\"`\n-\t// OS is the operating system used to build and run the image\n-\tOS string `json:\"os,omitempty\"`\n-\t// Size is the total size of the image including all layers it is composed of\n-\tSize int64 `json:\",omitempty\"`\n+\n+\tArchitecture string `json:\"architecture,omitempty\"` // Architecture is the hardware that the image is build and runs on","path":"image/image.go","position":39,"original_position":39,"commit_id":"5cb797c4da94523c08d606c64ebbd33dd6733ca1","original_commit_id":"5cb797c4da94523c08d606c64ebbd33dd6733ca1","user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"body":"No, I meant that with this change, we mix formatting to put the description _above_ some, and _to the right_ of others;\r\n\r\n<img width=\"973\" alt=\"screen shot 2016-11-29 at 11 00 42\" src=\"https://cloud.githubusercontent.com/assets/1804568/20705458/4d91be1e-b623-11e6-9f32-47396dfa73a2.png\">\r\n\r\nI would definitely prefer to have that in a separate PR if you think it's important (and why).\r\n\r\nEven though I can see some formatting being slightly more readable, we should also take into account that docker gets a lot of pull requests; formatting should be such that it minimizes the chance of merge conflicts.","created_at":"2016-11-29T10:04:52Z","updated_at":"2016-11-29T10:04:52Z","html_url":"https://github.com/docker/docker/pull/28874#discussion_r89976327","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/28874","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/89976327"},"html":{"href":"https://github.com/docker/docker/pull/28874#discussion_r89976327"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/28874"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/28874","id":95458970,"html_url":"https://github.com/docker/docker/pull/28874","diff_url":"https://github.com/docker/docker/pull/28874.diff","patch_url":"https://github.com/docker/docker/pull/28874.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/28874","number":28874,"state":"open","locked":false,"title":"Fix some typos","user":{"login":"yuexiao-wang","id":20082558,"avatar_url":"https://avatars.githubusercontent.com/u/20082558?v=3","gravatar_id":"","url":"https://api.github.com/users/yuexiao-wang","html_url":"https://github.com/yuexiao-wang","followers_url":"https://api.github.com/users/yuexiao-wang/followers","following_url":"https://api.github.com/users/yuexiao-wang/following{/other_user}","gists_url":"https://api.github.com/users/yuexiao-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/yuexiao-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuexiao-wang/subscriptions","organizations_url":"https://api.github.com/users/yuexiao-wang/orgs","repos_url":"https://api.github.com/users/yuexiao-wang/repos","events_url":"https://api.github.com/users/yuexiao-wang/events{/privacy}","received_events_url":"https://api.github.com/users/yuexiao-wang/received_events","type":"User","site_admin":false},"body":"**- What I did**\r\nFix some typos when I read codes in docker\r\n\r\n**- How I did it**\r\n\r\n**- How to verify it**\r\n\r\n**- Description for the changelog**\r\n\r\n\r\nSigned-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>","created_at":"2016-11-28T08:58:40Z","updated_at":"2016-11-29T10:04:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dcb510a7596580ba06c9eb5254ab6418314ffa8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/28874/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/28874/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/28874/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/5cb797c4da94523c08d606c64ebbd33dd6733ca1","head":{"label":"yuexiao-wang:fix-layer-typo","ref":"fix-layer-typo","sha":"5cb797c4da94523c08d606c64ebbd33dd6733ca1","user":{"login":"yuexiao-wang","id":20082558,"avatar_url":"https://avatars.githubusercontent.com/u/20082558?v=3","gravatar_id":"","url":"https://api.github.com/users/yuexiao-wang","html_url":"https://github.com/yuexiao-wang","followers_url":"https://api.github.com/users/yuexiao-wang/followers","following_url":"https://api.github.com/users/yuexiao-wang/following{/other_user}","gists_url":"https://api.github.com/users/yuexiao-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/yuexiao-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuexiao-wang/subscriptions","organizations_url":"https://api.github.com/users/yuexiao-wang/orgs","repos_url":"https://api.github.com/users/yuexiao-wang/repos","events_url":"https://api.github.com/users/yuexiao-wang/events{/privacy}","received_events_url":"https://api.github.com/users/yuexiao-wang/received_events","type":"User","site_admin":false},"repo":{"id":65256216,"name":"docker","full_name":"yuexiao-wang/docker","owner":{"login":"yuexiao-wang","id":20082558,"avatar_url":"https://avatars.githubusercontent.com/u/20082558?v=3","gravatar_id":"","url":"https://api.github.com/users/yuexiao-wang","html_url":"https://github.com/yuexiao-wang","followers_url":"https://api.github.com/users/yuexiao-wang/followers","following_url":"https://api.github.com/users/yuexiao-wang/following{/other_user}","gists_url":"https://api.github.com/users/yuexiao-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/yuexiao-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuexiao-wang/subscriptions","organizations_url":"https://api.github.com/users/yuexiao-wang/orgs","repos_url":"https://api.github.com/users/yuexiao-wang/repos","events_url":"https://api.github.com/users/yuexiao-wang/events{/privacy}","received_events_url":"https://api.github.com/users/yuexiao-wang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuexiao-wang/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/yuexiao-wang/docker","forks_url":"https://api.github.com/repos/yuexiao-wang/docker/forks","keys_url":"https://api.github.com/repos/yuexiao-wang/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuexiao-wang/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuexiao-wang/docker/teams","hooks_url":"https://api.github.com/repos/yuexiao-wang/docker/hooks","issue_events_url":"https://api.github.com/repos/yuexiao-wang/docker/issues/events{/number}","events_url":"https://api.github.com/repos/yuexiao-wang/docker/events","assignees_url":"https://api.github.com/repos/yuexiao-wang/docker/assignees{/user}","branches_url":"https://api.github.com/repos/yuexiao-wang/docker/branches{/branch}","tags_url":"https://api.github.com/repos/yuexiao-wang/docker/tags","blobs_url":"https://api.github.com/repos/yuexiao-wang/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuexiao-wang/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuexiao-wang/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuexiao-wang/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuexiao-wang/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/yuexiao-wang/docker/languages","stargazers_url":"https://api.github.com/repos/yuexiao-wang/docker/stargazers","contributors_url":"https://api.github.com/repos/yuexiao-wang/docker/contributors","subscribers_url":"https://api.github.com/repos/yuexiao-wang/docker/subscribers","subscription_url":"https://api.github.com/repos/yuexiao-wang/docker/subscription","commits_url":"https://api.github.com/repos/yuexiao-wang/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuexiao-wang/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuexiao-wang/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuexiao-wang/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuexiao-wang/docker/contents/{+path}","compare_url":"https://api.github.com/repos/yuexiao-wang/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuexiao-wang/docker/merges","archive_url":"https://api.github.com/repos/yuexiao-wang/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuexiao-wang/docker/downloads","issues_url":"https://api.github.com/repos/yuexiao-wang/docker/issues{/number}","pulls_url":"https://api.github.com/repos/yuexiao-wang/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/yuexiao-wang/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/yuexiao-wang/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuexiao-wang/docker/labels{/name}","releases_url":"https://api.github.com/repos/yuexiao-wang/docker/releases{/id}","deployments_url":"https://api.github.com/repos/yuexiao-wang/docker/deployments","created_at":"2016-08-09T02:35:08Z","updated_at":"2016-08-09T02:35:23Z","pushed_at":"2016-11-29T07:19:42Z","git_url":"git://github.com/yuexiao-wang/docker.git","ssh_url":"git@github.com:yuexiao-wang/docker.git","clone_url":"https://github.com/yuexiao-wang/docker.git","svn_url":"https://github.com/yuexiao-wang/docker","homepage":"http://www.docker.com","size":112553,"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":"1ef10c83c76281b55b6e790149555d4f5950409c","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-29T08:54:54Z","pushed_at":"2016-11-29T09:03:08Z","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":221657,"stargazers_count":37309,"watchers_count":37309,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11076,"mirror_url":null,"open_issues_count":1980,"forks":11076,"open_issues":1980,"watchers":37309,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/28874"},"html":{"href":"https://github.com/docker/docker/pull/28874"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/28874"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/28874/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/28874/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/28874/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/5cb797c4da94523c08d606c64ebbd33dd6733ca1"}}}}
{"actor":{"display_login":"thaJeztah"}}