{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21315","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21315/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21315/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21315/events","html_url":"https://github.com/docker/docker/pull/21315","id":141765329,"number":21315,"title":"Add validation for cpu period and quota","user":{"login":"hqhq","id":6415670,"avatar_url":"https://avatars.githubusercontent.com/u/6415670?v=3","gravatar_id":"","url":"https://api.github.com/users/hqhq","html_url":"https://github.com/hqhq","followers_url":"https://api.github.com/users/hqhq/followers","following_url":"https://api.github.com/users/hqhq/following{/other_user}","gists_url":"https://api.github.com/users/hqhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hqhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hqhq/subscriptions","organizations_url":"https://api.github.com/users/hqhq/orgs","repos_url":"https://api.github.com/users/hqhq/repos","events_url":"https://api.github.com/users/hqhq/events{/privacy}","received_events_url":"https://api.github.com/users/hqhq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"},{"url":"https://api.github.com/repos/docker/docker/labels/status/failing-ci","name":"status/failing-ci","color":"888888"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-18T03:39:04Z","updated_at":"2016-03-18T14:11:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/21315","html_url":"https://github.com/docker/docker/pull/21315","diff_url":"https://github.com/docker/docker/pull/21315.diff","patch_url":"https://github.com/docker/docker/pull/21315.patch"},"body":"Accoding to:\r\nhttps://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt\r\n\r\nIt has minimal and maximal limit.\r\nInspired from: https://github.com/opencontainers/runc/pull/651\r\n\r\nIt also remove the dot in suffix to avoid double dot in error message\r\non client side."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/198377244","html_url":"https://github.com/docker/docker/pull/21315#issuecomment-198377244","issue_url":"https://api.github.com/repos/docker/docker/issues/21315","id":198377244,"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},"created_at":"2016-03-18T14:11:40Z","updated_at":"2016-03-18T14:11:40Z","body":"Looks like you need to update the tests, because you removed the `.` at the end;\r\n\r\n```\r\n04:47:02 docker_api_containers_test.go:1423:\r\n04:47:02     c.Assert(string(body), checker.Equals, expected)\r\n04:47:02 ... obtained string = \"Invalid value 1-42,, for cpuset cpus\\n\"\r\n04:47:02 ... expected string = \"Invalid value 1-42,, for cpuset cpus.\\n\"\r\n```"}}