{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/28924","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/28924/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/28924/comments","events_url":"https://api.github.com/repos/docker/docker/issues/28924/events","html_url":"https://github.com/docker/docker/pull/28924","id":192212387,"number":28924,"title":"fix apparmor load profile","user":{"login":"xlgao-zju","id":1636894,"avatar_url":"https://avatars.githubusercontent.com/u/1636894?v=3","gravatar_id":"","url":"https://api.github.com/users/xlgao-zju","html_url":"https://github.com/xlgao-zju","followers_url":"https://api.github.com/users/xlgao-zju/followers","following_url":"https://api.github.com/users/xlgao-zju/following{/other_user}","gists_url":"https://api.github.com/users/xlgao-zju/gists{/gist_id}","starred_url":"https://api.github.com/users/xlgao-zju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlgao-zju/subscriptions","organizations_url":"https://api.github.com/users/xlgao-zju/orgs","repos_url":"https://api.github.com/users/xlgao-zju/repos","events_url":"https://api.github.com/users/xlgao-zju/events{/privacy}","received_events_url":"https://api.github.com/users/xlgao-zju/received_events","type":"User","site_admin":false},"labels":[{"id":175375407,"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-29T07:59:28Z","updated_at":"2016-12-01T15:24:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/28924","html_url":"https://github.com/docker/docker/pull/28924","diff_url":"https://github.com/docker/docker/pull/28924.diff","patch_url":"https://github.com/docker/docker/pull/28924.patch"},"body":"**- What I did**\r\n1. Use `profilePath` as arg for `apparmor_parser`.\r\n2. Use `{{.Name}}` as arg for `ptrace`\r\n\r\n**- Why I did it**\r\n1. `apparmor_parser` requires `profilePath` rather than it's dir.\r\n2. Since it is a template, it is better to use `{{.Name}}`. And it is consistent with [this line](https://github.com/docker/docker/compare/master...xlgao-zju:fix-apparmor-load-profile?expand=1#diff-060088dd541ee0da4b7901894b6aa2b5R11).\r\n\r\nSigned-off-by: Xianglin Gao <xlgao@zju.edu.cn>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/264201959","html_url":"https://github.com/docker/docker/pull/28924#issuecomment-264201959","issue_url":"https://api.github.com/repos/docker/docker/issues/28924","id":264201959,"user":{"login":"justincormack","id":482364,"avatar_url":"https://avatars.githubusercontent.com/u/482364?v=3","gravatar_id":"","url":"https://api.github.com/users/justincormack","html_url":"https://github.com/justincormack","followers_url":"https://api.github.com/users/justincormack/followers","following_url":"https://api.github.com/users/justincormack/following{/other_user}","gists_url":"https://api.github.com/users/justincormack/gists{/gist_id}","starred_url":"https://api.github.com/users/justincormack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justincormack/subscriptions","organizations_url":"https://api.github.com/users/justincormack/orgs","repos_url":"https://api.github.com/users/justincormack/repos","events_url":"https://api.github.com/users/justincormack/events{/privacy}","received_events_url":"https://api.github.com/users/justincormack/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T15:24:56Z","updated_at":"2016-12-01T15:24:56Z","body":"Looks fine, permissions are good."}}
{"actor":{"display_login":"justincormack"}}