{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/runc/pulls/comments/64530884","id":64530884,"diff_hunk":"@@ -5,42 +5,41 @@\n    runc update [command options] <container-id>\n \n # DESCRIPTION\n-   The data can be read from a file or the standard input, the\n-accepted format is as follow (unchanged values can be omitted):\n+   The update command can be used to update resource constraints of a container.\n+Values can be set by arguments, a file or the standard input.\n \n+# OPTIONS\n+   --resources, -r              path to the file containing the resources to update or '-' to read from the standard input.\n+   The accepted format is as follow (unchanged values can be omitted):\n    {\n-     \"memory\": {\n-       \"limit\": 0,\n-       \"reservation\": 0,\n-       \"swap\": 0,\n-       \"kernel\": 0,\n-       \"kernelTCP\": 0\n-     },\n-     \"cpu\": {\n-       \"shares\": 0,\n-       \"quota\": 0,\n-       \"period\": 0,\n-       \"cpus\": \"\",\n-       \"mems\": \"\"\n-     },\n-     \"blockIO\": {\n-       \"blkioWeight\": 0\n-     },\n+       \"memory\": {\n+           \"limit\": 0,\n+           \"reservation\": 0,\n+           \"swap\": 0,\n+           \"kernel\": 0,\n+           \"kernelTCP\": 0\n+       },\n+       \"cpu\": {\n+           \"shares\": 0,\n+           \"quota\": 0,\n+           \"period\": 0,\n+           \"cpus\": \"\",\n+           \"mems\": \"\"\n+       },\n+       \"blockIO\": {\n+           \"blkioWeight\": 0\n+       },","path":"man/runc-update.8.md","position":null,"original_position":46,"commit_id":"ca0951e31ab866484520b28335b423956b027257","original_commit_id":"5c37fd389de9ae487473c8c4bf8cb4f1c0e68467","user":{"login":"zhaoleidd","id":11662186,"avatar_url":"https://avatars.githubusercontent.com/u/11662186?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoleidd","html_url":"https://github.com/zhaoleidd","followers_url":"https://api.github.com/users/zhaoleidd/followers","following_url":"https://api.github.com/users/zhaoleidd/following{/other_user}","gists_url":"https://api.github.com/users/zhaoleidd/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoleidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoleidd/subscriptions","organizations_url":"https://api.github.com/users/zhaoleidd/orgs","repos_url":"https://api.github.com/users/zhaoleidd/repos","events_url":"https://api.github.com/users/zhaoleidd/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoleidd/received_events","type":"User","site_admin":false},"body":"done, patch updated.\r\nThanks for review.","created_at":"2016-05-25T08:06:13Z","updated_at":"2016-05-25T08:06:13Z","html_url":"https://github.com/opencontainers/runc/pull/843#discussion_r64530884","pull_request_url":"https://api.github.com/repos/opencontainers/runc/pulls/843","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/comments/64530884"},"html":{"href":"https://github.com/opencontainers/runc/pull/843#discussion_r64530884"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/843"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/runc/pulls/843","id":71323108,"html_url":"https://github.com/opencontainers/runc/pull/843","diff_url":"https://github.com/opencontainers/runc/pull/843.diff","patch_url":"https://github.com/opencontainers/runc/pull/843.patch","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/843","number":843,"state":"open","locked":false,"title":"Update manuals","user":{"login":"zhaoleidd","id":11662186,"avatar_url":"https://avatars.githubusercontent.com/u/11662186?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoleidd","html_url":"https://github.com/zhaoleidd","followers_url":"https://api.github.com/users/zhaoleidd/followers","following_url":"https://api.github.com/users/zhaoleidd/following{/other_user}","gists_url":"https://api.github.com/users/zhaoleidd/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoleidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoleidd/subscriptions","organizations_url":"https://api.github.com/users/zhaoleidd/orgs","repos_url":"https://api.github.com/users/zhaoleidd/repos","events_url":"https://api.github.com/users/zhaoleidd/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoleidd/received_events","type":"User","site_admin":false},"body":"This patchset updated manual and code for --help, mainly to:\r\n1: To make manual and --help output same information.\r\n2: To make manual in same format.\r\n3: Add losted arguments into manual.","created_at":"2016-05-25T02:51:33Z","updated_at":"2016-05-25T08:06:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbe073344afe9d12cd6a7bb0f449f52658d39823","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/runc/pulls/843/commits","review_comments_url":"https://api.github.com/repos/opencontainers/runc/pulls/843/comments","review_comment_url":"https://api.github.com/repos/opencontainers/runc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/843/comments","statuses_url":"https://api.github.com/repos/opencontainers/runc/statuses/ca0951e31ab866484520b28335b423956b027257","head":{"label":"zhaoleidd:update_manuals","ref":"update_manuals","sha":"ca0951e31ab866484520b28335b423956b027257","user":{"login":"zhaoleidd","id":11662186,"avatar_url":"https://avatars.githubusercontent.com/u/11662186?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoleidd","html_url":"https://github.com/zhaoleidd","followers_url":"https://api.github.com/users/zhaoleidd/followers","following_url":"https://api.github.com/users/zhaoleidd/following{/other_user}","gists_url":"https://api.github.com/users/zhaoleidd/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoleidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoleidd/subscriptions","organizations_url":"https://api.github.com/users/zhaoleidd/orgs","repos_url":"https://api.github.com/users/zhaoleidd/repos","events_url":"https://api.github.com/users/zhaoleidd/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoleidd/received_events","type":"User","site_admin":false},"repo":{"id":59264278,"name":"runc","full_name":"zhaoleidd/runc","owner":{"login":"zhaoleidd","id":11662186,"avatar_url":"https://avatars.githubusercontent.com/u/11662186?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoleidd","html_url":"https://github.com/zhaoleidd","followers_url":"https://api.github.com/users/zhaoleidd/followers","following_url":"https://api.github.com/users/zhaoleidd/following{/other_user}","gists_url":"https://api.github.com/users/zhaoleidd/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoleidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoleidd/subscriptions","organizations_url":"https://api.github.com/users/zhaoleidd/orgs","repos_url":"https://api.github.com/users/zhaoleidd/repos","events_url":"https://api.github.com/users/zhaoleidd/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoleidd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhaoleidd/runc","description":"runc container cli tools","fork":true,"url":"https://api.github.com/repos/zhaoleidd/runc","forks_url":"https://api.github.com/repos/zhaoleidd/runc/forks","keys_url":"https://api.github.com/repos/zhaoleidd/runc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhaoleidd/runc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhaoleidd/runc/teams","hooks_url":"https://api.github.com/repos/zhaoleidd/runc/hooks","issue_events_url":"https://api.github.com/repos/zhaoleidd/runc/issues/events{/number}","events_url":"https://api.github.com/repos/zhaoleidd/runc/events","assignees_url":"https://api.github.com/repos/zhaoleidd/runc/assignees{/user}","branches_url":"https://api.github.com/repos/zhaoleidd/runc/branches{/branch}","tags_url":"https://api.github.com/repos/zhaoleidd/runc/tags","blobs_url":"https://api.github.com/repos/zhaoleidd/runc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhaoleidd/runc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhaoleidd/runc/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhaoleidd/runc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhaoleidd/runc/statuses/{sha}","languages_url":"https://api.github.com/repos/zhaoleidd/runc/languages","stargazers_url":"https://api.github.com/repos/zhaoleidd/runc/stargazers","contributors_url":"https://api.github.com/repos/zhaoleidd/runc/contributors","subscribers_url":"https://api.github.com/repos/zhaoleidd/runc/subscribers","subscription_url":"https://api.github.com/repos/zhaoleidd/runc/subscription","commits_url":"https://api.github.com/repos/zhaoleidd/runc/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhaoleidd/runc/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhaoleidd/runc/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhaoleidd/runc/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhaoleidd/runc/contents/{+path}","compare_url":"https://api.github.com/repos/zhaoleidd/runc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhaoleidd/runc/merges","archive_url":"https://api.github.com/repos/zhaoleidd/runc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhaoleidd/runc/downloads","issues_url":"https://api.github.com/repos/zhaoleidd/runc/issues{/number}","pulls_url":"https://api.github.com/repos/zhaoleidd/runc/pulls{/number}","milestones_url":"https://api.github.com/repos/zhaoleidd/runc/milestones{/number}","notifications_url":"https://api.github.com/repos/zhaoleidd/runc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhaoleidd/runc/labels{/name}","releases_url":"https://api.github.com/repos/zhaoleidd/runc/releases{/id}","deployments_url":"https://api.github.com/repos/zhaoleidd/runc/deployments","created_at":"2016-05-20T04:13:49Z","updated_at":"2016-05-20T04:13:50Z","pushed_at":"2016-05-25T08:03:18Z","git_url":"git://github.com/zhaoleidd/runc.git","ssh_url":"git@github.com:zhaoleidd/runc.git","clone_url":"https://github.com/zhaoleidd/runc.git","svn_url":"https://github.com/zhaoleidd/runc","homepage":"https://www.opencontainers.org/","size":3181,"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":"opencontainers:master","ref":"master","sha":"fa5ce1e2d0efe822bbb04fe9a178fdefaeba412c","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":36960321,"name":"runc","full_name":"opencontainers/runc","owner":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencontainers/runc","description":"runc container cli tools","fork":false,"url":"https://api.github.com/repos/opencontainers/runc","forks_url":"https://api.github.com/repos/opencontainers/runc/forks","keys_url":"https://api.github.com/repos/opencontainers/runc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/runc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/runc/teams","hooks_url":"https://api.github.com/repos/opencontainers/runc/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/runc/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/runc/events","assignees_url":"https://api.github.com/repos/opencontainers/runc/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/runc/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/runc/tags","blobs_url":"https://api.github.com/repos/opencontainers/runc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/runc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/runc/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/runc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/runc/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/runc/languages","stargazers_url":"https://api.github.com/repos/opencontainers/runc/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/runc/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/runc/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/runc/subscription","commits_url":"https://api.github.com/repos/opencontainers/runc/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/runc/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/runc/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/runc/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/runc/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/runc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/runc/merges","archive_url":"https://api.github.com/repos/opencontainers/runc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/runc/downloads","issues_url":"https://api.github.com/repos/opencontainers/runc/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/runc/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/runc/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/runc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/runc/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/runc/releases{/id}","deployments_url":"https://api.github.com/repos/opencontainers/runc/deployments","created_at":"2015-06-05T23:30:45Z","updated_at":"2016-05-25T01:32:43Z","pushed_at":"2016-05-25T08:03:18Z","git_url":"git://github.com/opencontainers/runc.git","ssh_url":"git@github.com:opencontainers/runc.git","clone_url":"https://github.com/opencontainers/runc.git","svn_url":"https://github.com/opencontainers/runc","homepage":"https://www.opencontainers.org/","size":5473,"stargazers_count":2794,"watchers_count":2794,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":360,"mirror_url":null,"open_issues_count":72,"forks":360,"open_issues":72,"watchers":2794,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/843"},"html":{"href":"https://github.com/opencontainers/runc/pull/843"},"issue":{"href":"https://api.github.com/repos/opencontainers/runc/issues/843"},"comments":{"href":"https://api.github.com/repos/opencontainers/runc/issues/843/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/843/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/843/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/runc/statuses/ca0951e31ab866484520b28335b423956b027257"}}}}
{"actor":{"display_login":"zhaoleidd"}}