{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4","id":166663378,"html_url":"https://github.com/kevholditch/terraform-provider-kong/pull/4","diff_url":"https://github.com/kevholditch/terraform-provider-kong/pull/4.diff","patch_url":"https://github.com/kevholditch/terraform-provider-kong/pull/4.patch","issue_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/4","number":4,"state":"open","locked":false,"title":"fix: `handle case where gokon returns nil for object`","user":{"login":"charles-d-burton","id":3165908,"avatar_url":"https://avatars0.githubusercontent.com/u/3165908?v=4","gravatar_id":"","url":"https://api.github.com/users/charles-d-burton","html_url":"https://github.com/charles-d-burton","followers_url":"https://api.github.com/users/charles-d-burton/followers","following_url":"https://api.github.com/users/charles-d-burton/following{/other_user}","gists_url":"https://api.github.com/users/charles-d-burton/gists{/gist_id}","starred_url":"https://api.github.com/users/charles-d-burton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charles-d-burton/subscriptions","organizations_url":"https://api.github.com/users/charles-d-burton/orgs","repos_url":"https://api.github.com/users/charles-d-burton/repos","events_url":"https://api.github.com/users/charles-d-burton/events{/privacy}","received_events_url":"https://api.github.com/users/charles-d-burton/received_events","type":"User","site_admin":false},"body":"This fixes a case where gokong can return a nil object.  If kong is manually updated to remove a resource the gokong library will return a nil object and a nil error.  In this case terraform will throw an unexpected EOF due to the provider trying to reference a nil object.  ","created_at":"2018-02-01T21:58:53Z","updated_at":"2018-02-01T21:58:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4/commits","review_comments_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4/comments","review_comment_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/4/comments","statuses_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/statuses/4d37ca80bea46dc58145f6a5f3e1cf4dc16dc10d","head":{"label":"charles-d-burton:nilfix","ref":"nilfix","sha":"4d37ca80bea46dc58145f6a5f3e1cf4dc16dc10d","user":{"login":"charles-d-burton","id":3165908,"avatar_url":"https://avatars0.githubusercontent.com/u/3165908?v=4","gravatar_id":"","url":"https://api.github.com/users/charles-d-burton","html_url":"https://github.com/charles-d-burton","followers_url":"https://api.github.com/users/charles-d-burton/followers","following_url":"https://api.github.com/users/charles-d-burton/following{/other_user}","gists_url":"https://api.github.com/users/charles-d-burton/gists{/gist_id}","starred_url":"https://api.github.com/users/charles-d-burton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charles-d-burton/subscriptions","organizations_url":"https://api.github.com/users/charles-d-burton/orgs","repos_url":"https://api.github.com/users/charles-d-burton/repos","events_url":"https://api.github.com/users/charles-d-burton/events{/privacy}","received_events_url":"https://api.github.com/users/charles-d-burton/received_events","type":"User","site_admin":false},"repo":{"id":119897704,"name":"terraform-provider-kong","full_name":"charles-d-burton/terraform-provider-kong","owner":{"login":"charles-d-burton","id":3165908,"avatar_url":"https://avatars0.githubusercontent.com/u/3165908?v=4","gravatar_id":"","url":"https://api.github.com/users/charles-d-burton","html_url":"https://github.com/charles-d-burton","followers_url":"https://api.github.com/users/charles-d-burton/followers","following_url":"https://api.github.com/users/charles-d-burton/following{/other_user}","gists_url":"https://api.github.com/users/charles-d-burton/gists{/gist_id}","starred_url":"https://api.github.com/users/charles-d-burton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charles-d-burton/subscriptions","organizations_url":"https://api.github.com/users/charles-d-burton/orgs","repos_url":"https://api.github.com/users/charles-d-burton/repos","events_url":"https://api.github.com/users/charles-d-burton/events{/privacy}","received_events_url":"https://api.github.com/users/charles-d-burton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charles-d-burton/terraform-provider-kong","description":"kong provider for terraform","fork":true,"url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong","forks_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/forks","keys_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/teams","hooks_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/hooks","issue_events_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/issues/events{/number}","events_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/events","assignees_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/assignees{/user}","branches_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/branches{/branch}","tags_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/tags","blobs_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/git/refs{/sha}","trees_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/statuses/{sha}","languages_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/languages","stargazers_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/stargazers","contributors_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/contributors","subscribers_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/subscribers","subscription_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/subscription","commits_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/commits{/sha}","git_commits_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/git/commits{/sha}","comments_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/comments{/number}","issue_comment_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/issues/comments{/number}","contents_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/contents/{+path}","compare_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/merges","archive_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/downloads","issues_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/issues{/number}","pulls_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/pulls{/number}","milestones_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/milestones{/number}","notifications_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/labels{/name}","releases_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/releases{/id}","deployments_url":"https://api.github.com/repos/charles-d-burton/terraform-provider-kong/deployments","created_at":"2018-02-01T21:47:09Z","updated_at":"2018-02-01T21:47:10Z","pushed_at":"2018-02-01T21:56:54Z","git_url":"git://github.com/charles-d-burton/terraform-provider-kong.git","ssh_url":"git@github.com:charles-d-burton/terraform-provider-kong.git","clone_url":"https://github.com/charles-d-burton/terraform-provider-kong.git","svn_url":"https://github.com/charles-d-burton/terraform-provider-kong","homepage":null,"size":1889,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kevholditch:master","ref":"master","sha":"ee347b01c01bd776fe6534ffabf22132c918782d","user":{"login":"kevholditch","id":1679458,"avatar_url":"https://avatars3.githubusercontent.com/u/1679458?v=4","gravatar_id":"","url":"https://api.github.com/users/kevholditch","html_url":"https://github.com/kevholditch","followers_url":"https://api.github.com/users/kevholditch/followers","following_url":"https://api.github.com/users/kevholditch/following{/other_user}","gists_url":"https://api.github.com/users/kevholditch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevholditch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevholditch/subscriptions","organizations_url":"https://api.github.com/users/kevholditch/orgs","repos_url":"https://api.github.com/users/kevholditch/repos","events_url":"https://api.github.com/users/kevholditch/events{/privacy}","received_events_url":"https://api.github.com/users/kevholditch/received_events","type":"User","site_admin":false},"repo":{"id":111571503,"name":"terraform-provider-kong","full_name":"kevholditch/terraform-provider-kong","owner":{"login":"kevholditch","id":1679458,"avatar_url":"https://avatars3.githubusercontent.com/u/1679458?v=4","gravatar_id":"","url":"https://api.github.com/users/kevholditch","html_url":"https://github.com/kevholditch","followers_url":"https://api.github.com/users/kevholditch/followers","following_url":"https://api.github.com/users/kevholditch/following{/other_user}","gists_url":"https://api.github.com/users/kevholditch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevholditch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevholditch/subscriptions","organizations_url":"https://api.github.com/users/kevholditch/orgs","repos_url":"https://api.github.com/users/kevholditch/repos","events_url":"https://api.github.com/users/kevholditch/events{/privacy}","received_events_url":"https://api.github.com/users/kevholditch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevholditch/terraform-provider-kong","description":"kong provider for terraform","fork":false,"url":"https://api.github.com/repos/kevholditch/terraform-provider-kong","forks_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/forks","keys_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/teams","hooks_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/hooks","issue_events_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/events{/number}","events_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/events","assignees_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/assignees{/user}","branches_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/branches{/branch}","tags_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/tags","blobs_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/statuses/{sha}","languages_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/languages","stargazers_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/stargazers","contributors_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/contributors","subscribers_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/subscribers","subscription_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/subscription","commits_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/contents/{+path}","compare_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/merges","archive_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/downloads","issues_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues{/number}","pulls_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls{/number}","milestones_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/milestones{/number}","notifications_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/labels{/name}","releases_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/releases{/id}","deployments_url":"https://api.github.com/repos/kevholditch/terraform-provider-kong/deployments","created_at":"2017-11-21T16:07:44Z","updated_at":"2018-01-26T21:14:47Z","pushed_at":"2018-01-18T16:25:28Z","git_url":"git://github.com/kevholditch/terraform-provider-kong.git","ssh_url":"git@github.com:kevholditch/terraform-provider-kong.git","clone_url":"https://github.com/kevholditch/terraform-provider-kong.git","svn_url":"https://github.com/kevholditch/terraform-provider-kong","homepage":null,"size":1889,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4"},"html":{"href":"https://github.com/kevholditch/terraform-provider-kong/pull/4"},"issue":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/4"},"comments":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/kevholditch/terraform-provider-kong/statuses/4d37ca80bea46dc58145f6a5f3e1cf4dc16dc10d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":52,"deletions":24,"changed_files":6}}
{"actor":{"display_login":"charles-d-burton"}}