{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10","id":78130133,"html_url":"https://github.com/sensu-plugins/sensu-plugins-mesos/pull/10","diff_url":"https://github.com/sensu-plugins/sensu-plugins-mesos/pull/10.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-mesos/pull/10.patch","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/10","number":10,"state":"open","locked":false,"title":"Use correct parameter for retrieving running tasks","user":{"login":"andrelaszlo","id":21381,"avatar_url":"https://avatars.githubusercontent.com/u/21381?v=3","gravatar_id":"","url":"https://api.github.com/users/andrelaszlo","html_url":"https://github.com/andrelaszlo","followers_url":"https://api.github.com/users/andrelaszlo/followers","following_url":"https://api.github.com/users/andrelaszlo/following{/other_user}","gists_url":"https://api.github.com/users/andrelaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelaszlo/subscriptions","organizations_url":"https://api.github.com/users/andrelaszlo/orgs","repos_url":"https://api.github.com/users/andrelaszlo/repos","events_url":"https://api.github.com/users/andrelaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/andrelaszlo/received_events","type":"User","site_admin":false},"body":"## Pull Request Checklist\r\n\r\nThis PR fixes the first part of #9. The incorrect `state` parameter is renamed to `status`.\r\n\r\nThere is a typo in the url used for the tasks API call. The state parameter doesn't exist and is replaced by this commit with status, which is the [correct parameter name][0].\r\n\r\n#### General\r\n\r\n- [X] Update Changelog following the conventions laid out on [Keep A Changelog](http://keepachangelog.com/)\r\n\r\n- [X] Update README with any necessary configuration snippets\r\n\r\n- [X] Binstubs are created if needed\r\n\r\n- [X] RuboCop passes\r\n\r\n- [X] Existing tests pass \r\n\r\n#### Purpose\r\n\r\nMaking the `check-marathon-task.rb` plugin more reliable by only counting running tasks as \"running properly\".\r\n\r\n#### Known Compatablity Issues\r\n\r\nNone\r\n\r\n[0]: https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-tasks","created_at":"2016-07-20T11:23:42Z","updated_at":"2016-07-20T11:23:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10/commits","review_comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10/comments","review_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/10/comments","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/statuses/0a7a64e225911c8b527a07f95b4271eded4228b8","head":{"label":"andrelaszlo:master","ref":"master","sha":"0a7a64e225911c8b527a07f95b4271eded4228b8","user":{"login":"andrelaszlo","id":21381,"avatar_url":"https://avatars.githubusercontent.com/u/21381?v=3","gravatar_id":"","url":"https://api.github.com/users/andrelaszlo","html_url":"https://github.com/andrelaszlo","followers_url":"https://api.github.com/users/andrelaszlo/followers","following_url":"https://api.github.com/users/andrelaszlo/following{/other_user}","gists_url":"https://api.github.com/users/andrelaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelaszlo/subscriptions","organizations_url":"https://api.github.com/users/andrelaszlo/orgs","repos_url":"https://api.github.com/users/andrelaszlo/repos","events_url":"https://api.github.com/users/andrelaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/andrelaszlo/received_events","type":"User","site_admin":false},"repo":{"id":63340915,"name":"sensu-plugins-mesos","full_name":"andrelaszlo/sensu-plugins-mesos","owner":{"login":"andrelaszlo","id":21381,"avatar_url":"https://avatars.githubusercontent.com/u/21381?v=3","gravatar_id":"","url":"https://api.github.com/users/andrelaszlo","html_url":"https://github.com/andrelaszlo","followers_url":"https://api.github.com/users/andrelaszlo/followers","following_url":"https://api.github.com/users/andrelaszlo/following{/other_user}","gists_url":"https://api.github.com/users/andrelaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelaszlo/subscriptions","organizations_url":"https://api.github.com/users/andrelaszlo/orgs","repos_url":"https://api.github.com/users/andrelaszlo/repos","events_url":"https://api.github.com/users/andrelaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/andrelaszlo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrelaszlo/sensu-plugins-mesos","description":"This plugin provides navite Mesos instrumentation for monitoring and metrics collection, including: service health and metrics for Mesos, Chronos, and Marathon.","fork":true,"url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos","forks_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/forks","keys_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/teams","hooks_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/hooks","issue_events_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/issues/events{/number}","events_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/events","assignees_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/assignees{/user}","branches_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/branches{/branch}","tags_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/tags","blobs_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/statuses/{sha}","languages_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/languages","stargazers_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/stargazers","contributors_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/contributors","subscribers_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/subscribers","subscription_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/subscription","commits_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/contents/{+path}","compare_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/merges","archive_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/downloads","issues_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/issues{/number}","pulls_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/pulls{/number}","milestones_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/milestones{/number}","notifications_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/labels{/name}","releases_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/releases{/id}","deployments_url":"https://api.github.com/repos/andrelaszlo/sensu-plugins-mesos/deployments","created_at":"2016-07-14T13:55:16Z","updated_at":"2016-07-14T13:55:17Z","pushed_at":"2016-07-20T11:21:30Z","git_url":"git://github.com/andrelaszlo/sensu-plugins-mesos.git","ssh_url":"git@github.com:andrelaszlo/sensu-plugins-mesos.git","clone_url":"https://github.com/andrelaszlo/sensu-plugins-mesos.git","svn_url":"https://github.com/andrelaszlo/sensu-plugins-mesos","homepage":"http://sensu-plugins.io","size":39,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"sensu-plugins:master","ref":"master","sha":"bdf37ce17c7c0c7033e49c7ea72a06bc6416c50e","user":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":30632110,"name":"sensu-plugins-mesos","full_name":"sensu-plugins/sensu-plugins-mesos","owner":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu-plugins/sensu-plugins-mesos","description":"This plugin provides navite Mesos instrumentation for monitoring and metrics collection, including: service health and metrics for Mesos, Chronos, and Marathon.","fork":false,"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos","forks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/forks","keys_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/teams","hooks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/hooks","issue_events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/events{/number}","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/events","assignees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/assignees{/user}","branches_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/branches{/branch}","tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/tags","blobs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/languages","stargazers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/stargazers","contributors_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/contributors","subscribers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/subscribers","subscription_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/subscription","commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/contents/{+path}","compare_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/merges","archive_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/downloads","issues_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues{/number}","pulls_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/labels{/name}","releases_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/releases{/id}","deployments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/deployments","created_at":"2015-02-11T05:25:15Z","updated_at":"2016-03-02T13:33:35Z","pushed_at":"2016-05-11T09:23:00Z","git_url":"git://github.com/sensu-plugins/sensu-plugins-mesos.git","ssh_url":"git@github.com:sensu-plugins/sensu-plugins-mesos.git","clone_url":"https://github.com/sensu-plugins/sensu-plugins-mesos.git","svn_url":"https://github.com/sensu-plugins/sensu-plugins-mesos","homepage":"http://sensu-plugins.io","size":41,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10"},"html":{"href":"https://github.com/sensu-plugins/sensu-plugins-mesos/pull/10"},"issue":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/10"},"comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mesos/statuses/0a7a64e225911c8b527a07f95b4271eded4228b8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"andrelaszlo"}}