{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/norman/issues/150","repository_url":"https://api.github.com/repos/rancher/norman","labels_url":"https://api.github.com/repos/rancher/norman/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/rancher/norman/issues/150/comments","events_url":"https://api.github.com/repos/rancher/norman/issues/150/events","html_url":"https://github.com/rancher/norman/pull/150","id":318210040,"number":150,"title":"Fix logic for setting annotation based fields","user":{"login":"cjellick","id":2473240,"avatar_url":"https://avatars1.githubusercontent.com/u/2473240?v=4","gravatar_id":"","url":"https://api.github.com/users/cjellick","html_url":"https://github.com/cjellick","followers_url":"https://api.github.com/users/cjellick/followers","following_url":"https://api.github.com/users/cjellick/following{/other_user}","gists_url":"https://api.github.com/users/cjellick/gists{/gist_id}","starred_url":"https://api.github.com/users/cjellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjellick/subscriptions","organizations_url":"https://api.github.com/users/cjellick/orgs","repos_url":"https://api.github.com/users/cjellick/repos","events_url":"https://api.github.com/users/cjellick/events{/privacy}","received_events_url":"https://api.github.com/users/cjellick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T21:52:14Z","updated_at":"2018-04-26T22:03:50Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/rancher/norman/pulls/150","html_url":"https://github.com/rancher/norman/pull/150","diff_url":"https://github.com/rancher/norman/pull/150.diff","patch_url":"https://github.com/rancher/norman/pull/150.patch"},"body":"- Do not drop a field-to-annotation conversion if the value of the field is\nnil. The user is excplicitly trying to set it to nil\n- Never delete field annotations, even if they are not in the new map of\nannotations sent by the user.\n- Prevent the modification of the creatorId field, which is a special case\nfield that should be considered protected"},"comment":{"url":"https://api.github.com/repos/rancher/norman/issues/comments/384803108","html_url":"https://github.com/rancher/norman/pull/150#issuecomment-384803108","issue_url":"https://api.github.com/repos/rancher/norman/issues/150","id":384803108,"user":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars3.githubusercontent.com/u/1754002?v=4","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T22:03:50Z","updated_at":"2018-04-26T22:03:50Z","author_association":"OWNER","body":"LGTM"}}
{"actor":{"display_login":"ibuildthecloud"}}