{"action":"closed","number":144,"pull_request":{"url":"https://api.github.com/repos/opencontainers/ocitools/pulls/144","id":78608695,"html_url":"https://github.com/opencontainers/ocitools/pull/144","diff_url":"https://github.com/opencontainers/ocitools/pull/144.diff","patch_url":"https://github.com/opencontainers/ocitools/pull/144.patch","issue_url":"https://api.github.com/repos/opencontainers/ocitools/issues/144","number":144,"state":"closed","locked":false,"title":"Check pointer fields of g.spec","user":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"body":"The PR tries to check whether a pointer field is `nil` before modifying the field. This avoids modifying the field of a `nil` pointer.\r\n\r\nSigned-off-by: Haiyan Meng <hmeng@redhat.com>","created_at":"2016-07-24T20:25:14Z","updated_at":"2016-07-26T18:09:35Z","closed_at":"2016-07-26T18:09:34Z","merged_at":"2016-07-26T18:09:34Z","merge_commit_sha":"3334d031ea863fcf62efbf07c273028285fd3f6f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/144/commits","review_comments_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/144/comments","review_comment_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/ocitools/issues/144/comments","statuses_url":"https://api.github.com/repos/opencontainers/ocitools/statuses/60df8fcbf16652ed394923cfb61d1f24a8285264","head":{"label":"hmeng-19:init_spec_fields","ref":"init_spec_fields","sha":"60df8fcbf16652ed394923cfb61d1f24a8285264","user":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"repo":{"id":60129366,"name":"ocitools","full_name":"hmeng-19/ocitools","owner":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hmeng-19/ocitools","description":"OCI runtime tools","fork":true,"url":"https://api.github.com/repos/hmeng-19/ocitools","forks_url":"https://api.github.com/repos/hmeng-19/ocitools/forks","keys_url":"https://api.github.com/repos/hmeng-19/ocitools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmeng-19/ocitools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmeng-19/ocitools/teams","hooks_url":"https://api.github.com/repos/hmeng-19/ocitools/hooks","issue_events_url":"https://api.github.com/repos/hmeng-19/ocitools/issues/events{/number}","events_url":"https://api.github.com/repos/hmeng-19/ocitools/events","assignees_url":"https://api.github.com/repos/hmeng-19/ocitools/assignees{/user}","branches_url":"https://api.github.com/repos/hmeng-19/ocitools/branches{/branch}","tags_url":"https://api.github.com/repos/hmeng-19/ocitools/tags","blobs_url":"https://api.github.com/repos/hmeng-19/ocitools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmeng-19/ocitools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmeng-19/ocitools/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmeng-19/ocitools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmeng-19/ocitools/statuses/{sha}","languages_url":"https://api.github.com/repos/hmeng-19/ocitools/languages","stargazers_url":"https://api.github.com/repos/hmeng-19/ocitools/stargazers","contributors_url":"https://api.github.com/repos/hmeng-19/ocitools/contributors","subscribers_url":"https://api.github.com/repos/hmeng-19/ocitools/subscribers","subscription_url":"https://api.github.com/repos/hmeng-19/ocitools/subscription","commits_url":"https://api.github.com/repos/hmeng-19/ocitools/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmeng-19/ocitools/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmeng-19/ocitools/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmeng-19/ocitools/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmeng-19/ocitools/contents/{+path}","compare_url":"https://api.github.com/repos/hmeng-19/ocitools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmeng-19/ocitools/merges","archive_url":"https://api.github.com/repos/hmeng-19/ocitools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmeng-19/ocitools/downloads","issues_url":"https://api.github.com/repos/hmeng-19/ocitools/issues{/number}","pulls_url":"https://api.github.com/repos/hmeng-19/ocitools/pulls{/number}","milestones_url":"https://api.github.com/repos/hmeng-19/ocitools/milestones{/number}","notifications_url":"https://api.github.com/repos/hmeng-19/ocitools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmeng-19/ocitools/labels{/name}","releases_url":"https://api.github.com/repos/hmeng-19/ocitools/releases{/id}","deployments_url":"https://api.github.com/repos/hmeng-19/ocitools/deployments","created_at":"2016-05-31T23:00:23Z","updated_at":"2016-05-31T23:00:24Z","pushed_at":"2016-07-26T15:06:28Z","git_url":"git://github.com/hmeng-19/ocitools.git","ssh_url":"git@github.com:hmeng-19/ocitools.git","clone_url":"https://github.com/hmeng-19/ocitools.git","svn_url":"https://github.com/hmeng-19/ocitools","homepage":"https://www.opencontainers.org/","size":2781,"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":"f0ecc98691506075344d2fe35f5107b242effb47","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":49598840,"name":"ocitools","full_name":"opencontainers/ocitools","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/ocitools","description":"OCI runtime tools","fork":false,"url":"https://api.github.com/repos/opencontainers/ocitools","forks_url":"https://api.github.com/repos/opencontainers/ocitools/forks","keys_url":"https://api.github.com/repos/opencontainers/ocitools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/ocitools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/ocitools/teams","hooks_url":"https://api.github.com/repos/opencontainers/ocitools/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/ocitools/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/ocitools/events","assignees_url":"https://api.github.com/repos/opencontainers/ocitools/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/ocitools/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/ocitools/tags","blobs_url":"https://api.github.com/repos/opencontainers/ocitools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/ocitools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/ocitools/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/ocitools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/ocitools/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/ocitools/languages","stargazers_url":"https://api.github.com/repos/opencontainers/ocitools/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/ocitools/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/ocitools/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/ocitools/subscription","commits_url":"https://api.github.com/repos/opencontainers/ocitools/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/ocitools/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/ocitools/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/ocitools/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/ocitools/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/ocitools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/ocitools/merges","archive_url":"https://api.github.com/repos/opencontainers/ocitools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/ocitools/downloads","issues_url":"https://api.github.com/repos/opencontainers/ocitools/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/ocitools/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/ocitools/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/ocitools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/ocitools/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/ocitools/releases{/id}","deployments_url":"https://api.github.com/repos/opencontainers/ocitools/deployments","created_at":"2016-01-13T20:10:21Z","updated_at":"2016-07-24T03:04:47Z","pushed_at":"2016-07-26T18:09:34Z","git_url":"git://github.com/opencontainers/ocitools.git","ssh_url":"git@github.com:opencontainers/ocitools.git","clone_url":"https://github.com/opencontainers/ocitools.git","svn_url":"https://github.com/opencontainers/ocitools","homepage":"https://www.opencontainers.org/","size":2893,"stargazers_count":38,"watchers_count":38,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":29,"forks":22,"open_issues":29,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/144"},"html":{"href":"https://github.com/opencontainers/ocitools/pull/144"},"issue":{"href":"https://api.github.com/repos/opencontainers/ocitools/issues/144"},"comments":{"href":"https://api.github.com/repos/opencontainers/ocitools/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/ocitools/statuses/60df8fcbf16652ed394923cfb61d1f24a8285264"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"comments":10,"review_comments":0,"commits":1,"additions":151,"deletions":34,"changed_files":2}}
{"actor":{"display_login":"mrunalp"}}