{"action":"created","issue":{"url":"https://api.github.com/repos/docker/notary/issues/352","labels_url":"https://api.github.com/repos/docker/notary/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/docker/notary/issues/352/comments","events_url":"https://api.github.com/repos/docker/notary/issues/352/events","html_url":"https://github.com/docker/notary/pull/352","id":121432748,"number":352,"title":"Use canonical way to check if a map contains a key","user":{"login":"HuKeping","id":9958621,"avatar_url":"https://avatars.githubusercontent.com/u/9958621?v=3","gravatar_id":"","url":"https://api.github.com/users/HuKeping","html_url":"https://github.com/HuKeping","followers_url":"https://api.github.com/users/HuKeping/followers","following_url":"https://api.github.com/users/HuKeping/following{/other_user}","gists_url":"https://api.github.com/users/HuKeping/gists{/gist_id}","starred_url":"https://api.github.com/users/HuKeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuKeping/subscriptions","organizations_url":"https://api.github.com/users/HuKeping/orgs","repos_url":"https://api.github.com/users/HuKeping/repos","events_url":"https://api.github.com/users/HuKeping/events{/privacy}","received_events_url":"https://api.github.com/users/HuKeping/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/notary/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-10T08:57:10Z","updated_at":"2015-12-10T16:42:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/notary/pulls/352","html_url":"https://github.com/docker/notary/pull/352","diff_url":"https://github.com/docker/notary/pull/352.diff","patch_url":"https://github.com/docker/notary/pull/352.patch"},"body":"As the language spec:\r\nhttps://golang.org/ref/spec#Index_expressions\r\n\r\n\r\nAnd also fix a typo.\r\n\r\nSigned-off-by: Hu Keping <hukeping@huawei.com>"},"comment":{"url":"https://api.github.com/repos/docker/notary/issues/comments/163682768","html_url":"https://github.com/docker/notary/pull/352#issuecomment-163682768","issue_url":"https://api.github.com/repos/docker/notary/issues/352","id":163682768,"user":{"login":"endophage","id":1302091,"avatar_url":"https://avatars.githubusercontent.com/u/1302091?v=3","gravatar_id":"","url":"https://api.github.com/users/endophage","html_url":"https://github.com/endophage","followers_url":"https://api.github.com/users/endophage/followers","following_url":"https://api.github.com/users/endophage/following{/other_user}","gists_url":"https://api.github.com/users/endophage/gists{/gist_id}","starred_url":"https://api.github.com/users/endophage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endophage/subscriptions","organizations_url":"https://api.github.com/users/endophage/orgs","repos_url":"https://api.github.com/users/endophage/repos","events_url":"https://api.github.com/users/endophage/events{/privacy}","received_events_url":"https://api.github.com/users/endophage/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T16:42:47Z","updated_at":"2015-12-10T16:42:47Z","body":"LGTM.\r\n\r\nWhile you're in here it would be great if you add a short test to trigger the `http.Error`. Will let this sit for 24 hours and merge on Friday anyway if you don't have time."}}