{"action":"opened","number":142,"pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142","id":173838334,"html_url":"https://github.com/chef-cookbooks/lvm/pull/142","diff_url":"https://github.com/chef-cookbooks/lvm/pull/142.diff","patch_url":"https://github.com/chef-cookbooks/lvm/pull/142.patch","issue_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/142","number":142,"state":"open","locked":false,"title":"Correct raise syntax to remove the invalid second argument, fixes #141","user":{"login":"wheatevo","id":18470637,"avatar_url":"https://avatars1.githubusercontent.com/u/18470637?v=4","gravatar_id":"","url":"https://api.github.com/users/wheatevo","html_url":"https://github.com/wheatevo","followers_url":"https://api.github.com/users/wheatevo/followers","following_url":"https://api.github.com/users/wheatevo/following{/other_user}","gists_url":"https://api.github.com/users/wheatevo/gists{/gist_id}","starred_url":"https://api.github.com/users/wheatevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheatevo/subscriptions","organizations_url":"https://api.github.com/users/wheatevo/orgs","repos_url":"https://api.github.com/users/wheatevo/repos","events_url":"https://api.github.com/users/wheatevo/events{/privacy}","received_events_url":"https://api.github.com/users/wheatevo/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Matthew Newell <matthewtnewell@gmail.com>\r\n\r\n### Description\r\n\r\nThis change fixes the `raise` syntax to use the correct call format by removing the second argument. It appears that this was missed when the `Chef::Application.fatal!` calls were converted to use `raise` instead.\r\n\r\n### Issues Resolved\r\n\r\nThis fixes issue #141 \r\n\r\n### Check List\r\n\r\n- [ ] All tests pass. See <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD>\r\n- [ ] New functionality includes testing.\r\n- [ ] New functionality has been documented in the README if applicable\r\n- [ ] All commits have been signed for the Developer Certificate of Origin. See <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD>\r\n","created_at":"2018-03-08T20:12:54Z","updated_at":"2018-03-08T20:12:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142/commits","review_comments_url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142/comments","review_comment_url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/142/comments","statuses_url":"https://api.github.com/repos/chef-cookbooks/lvm/statuses/f04e3bc9a9e75efef59421fe61ff9dc08cb1c88a","head":{"label":"wheatevo:GH-141-fix-raise-syntax","ref":"GH-141-fix-raise-syntax","sha":"f04e3bc9a9e75efef59421fe61ff9dc08cb1c88a","user":{"login":"wheatevo","id":18470637,"avatar_url":"https://avatars1.githubusercontent.com/u/18470637?v=4","gravatar_id":"","url":"https://api.github.com/users/wheatevo","html_url":"https://github.com/wheatevo","followers_url":"https://api.github.com/users/wheatevo/followers","following_url":"https://api.github.com/users/wheatevo/following{/other_user}","gists_url":"https://api.github.com/users/wheatevo/gists{/gist_id}","starred_url":"https://api.github.com/users/wheatevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheatevo/subscriptions","organizations_url":"https://api.github.com/users/wheatevo/orgs","repos_url":"https://api.github.com/users/wheatevo/repos","events_url":"https://api.github.com/users/wheatevo/events{/privacy}","received_events_url":"https://api.github.com/users/wheatevo/received_events","type":"User","site_admin":false},"repo":{"id":124442160,"name":"lvm","full_name":"wheatevo/lvm","owner":{"login":"wheatevo","id":18470637,"avatar_url":"https://avatars1.githubusercontent.com/u/18470637?v=4","gravatar_id":"","url":"https://api.github.com/users/wheatevo","html_url":"https://github.com/wheatevo","followers_url":"https://api.github.com/users/wheatevo/followers","following_url":"https://api.github.com/users/wheatevo/following{/other_user}","gists_url":"https://api.github.com/users/wheatevo/gists{/gist_id}","starred_url":"https://api.github.com/users/wheatevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheatevo/subscriptions","organizations_url":"https://api.github.com/users/wheatevo/orgs","repos_url":"https://api.github.com/users/wheatevo/repos","events_url":"https://api.github.com/users/wheatevo/events{/privacy}","received_events_url":"https://api.github.com/users/wheatevo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wheatevo/lvm","description":"Development repository for lvm Chef cookbook","fork":true,"url":"https://api.github.com/repos/wheatevo/lvm","forks_url":"https://api.github.com/repos/wheatevo/lvm/forks","keys_url":"https://api.github.com/repos/wheatevo/lvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wheatevo/lvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wheatevo/lvm/teams","hooks_url":"https://api.github.com/repos/wheatevo/lvm/hooks","issue_events_url":"https://api.github.com/repos/wheatevo/lvm/issues/events{/number}","events_url":"https://api.github.com/repos/wheatevo/lvm/events","assignees_url":"https://api.github.com/repos/wheatevo/lvm/assignees{/user}","branches_url":"https://api.github.com/repos/wheatevo/lvm/branches{/branch}","tags_url":"https://api.github.com/repos/wheatevo/lvm/tags","blobs_url":"https://api.github.com/repos/wheatevo/lvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wheatevo/lvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wheatevo/lvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/wheatevo/lvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wheatevo/lvm/statuses/{sha}","languages_url":"https://api.github.com/repos/wheatevo/lvm/languages","stargazers_url":"https://api.github.com/repos/wheatevo/lvm/stargazers","contributors_url":"https://api.github.com/repos/wheatevo/lvm/contributors","subscribers_url":"https://api.github.com/repos/wheatevo/lvm/subscribers","subscription_url":"https://api.github.com/repos/wheatevo/lvm/subscription","commits_url":"https://api.github.com/repos/wheatevo/lvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/wheatevo/lvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/wheatevo/lvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/wheatevo/lvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/wheatevo/lvm/contents/{+path}","compare_url":"https://api.github.com/repos/wheatevo/lvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wheatevo/lvm/merges","archive_url":"https://api.github.com/repos/wheatevo/lvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wheatevo/lvm/downloads","issues_url":"https://api.github.com/repos/wheatevo/lvm/issues{/number}","pulls_url":"https://api.github.com/repos/wheatevo/lvm/pulls{/number}","milestones_url":"https://api.github.com/repos/wheatevo/lvm/milestones{/number}","notifications_url":"https://api.github.com/repos/wheatevo/lvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wheatevo/lvm/labels{/name}","releases_url":"https://api.github.com/repos/wheatevo/lvm/releases{/id}","deployments_url":"https://api.github.com/repos/wheatevo/lvm/deployments","created_at":"2018-03-08T20:06:16Z","updated_at":"2018-03-08T20:06:17Z","pushed_at":"2018-03-08T20:11:01Z","git_url":"git://github.com/wheatevo/lvm.git","ssh_url":"git@github.com:wheatevo/lvm.git","clone_url":"https://github.com/wheatevo/lvm.git","svn_url":"https://github.com/wheatevo/lvm","homepage":"http://supermarket.chef.io/cookbooks/lvm","size":352,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chef-cookbooks:master","ref":"master","sha":"9acd130c0fbc2023e2ab076960f3b8b58a69bb7c","user":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars2.githubusercontent.com/u/3617830?v=4","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":3720617,"name":"lvm","full_name":"chef-cookbooks/lvm","owner":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars2.githubusercontent.com/u/3617830?v=4","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-cookbooks/lvm","description":"Development repository for lvm Chef cookbook","fork":false,"url":"https://api.github.com/repos/chef-cookbooks/lvm","forks_url":"https://api.github.com/repos/chef-cookbooks/lvm/forks","keys_url":"https://api.github.com/repos/chef-cookbooks/lvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-cookbooks/lvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-cookbooks/lvm/teams","hooks_url":"https://api.github.com/repos/chef-cookbooks/lvm/hooks","issue_events_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/events{/number}","events_url":"https://api.github.com/repos/chef-cookbooks/lvm/events","assignees_url":"https://api.github.com/repos/chef-cookbooks/lvm/assignees{/user}","branches_url":"https://api.github.com/repos/chef-cookbooks/lvm/branches{/branch}","tags_url":"https://api.github.com/repos/chef-cookbooks/lvm/tags","blobs_url":"https://api.github.com/repos/chef-cookbooks/lvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-cookbooks/lvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-cookbooks/lvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-cookbooks/lvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-cookbooks/lvm/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-cookbooks/lvm/languages","stargazers_url":"https://api.github.com/repos/chef-cookbooks/lvm/stargazers","contributors_url":"https://api.github.com/repos/chef-cookbooks/lvm/contributors","subscribers_url":"https://api.github.com/repos/chef-cookbooks/lvm/subscribers","subscription_url":"https://api.github.com/repos/chef-cookbooks/lvm/subscription","commits_url":"https://api.github.com/repos/chef-cookbooks/lvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-cookbooks/lvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-cookbooks/lvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-cookbooks/lvm/contents/{+path}","compare_url":"https://api.github.com/repos/chef-cookbooks/lvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-cookbooks/lvm/merges","archive_url":"https://api.github.com/repos/chef-cookbooks/lvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-cookbooks/lvm/downloads","issues_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues{/number}","pulls_url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-cookbooks/lvm/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-cookbooks/lvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-cookbooks/lvm/labels{/name}","releases_url":"https://api.github.com/repos/chef-cookbooks/lvm/releases{/id}","deployments_url":"https://api.github.com/repos/chef-cookbooks/lvm/deployments","created_at":"2012-03-14T18:15:58Z","updated_at":"2018-01-29T05:14:24Z","pushed_at":"2017-11-27T04:09:12Z","git_url":"git://github.com/chef-cookbooks/lvm.git","ssh_url":"git@github.com:chef-cookbooks/lvm.git","clone_url":"https://github.com/chef-cookbooks/lvm.git","svn_url":"https://github.com/chef-cookbooks/lvm","homepage":"http://supermarket.chef.io/cookbooks/lvm","size":352,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":106,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":106,"open_issues":19,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142"},"html":{"href":"https://github.com/chef-cookbooks/lvm/pull/142"},"issue":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/issues/142"},"comments":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/chef-cookbooks/lvm/statuses/f04e3bc9a9e75efef59421fe61ff9dc08cb1c88a"}},"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":9,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"wheatevo"}}