{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31","id":60249793,"html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/31","diff_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/31.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/31.patch","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/31","number":31,"state":"open","locked":false,"title":"Move node assignment","user":{"login":"ajoas","id":12239415,"avatar_url":"https://avatars.githubusercontent.com/u/12239415?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoas","html_url":"https://github.com/ajoas","followers_url":"https://api.github.com/users/ajoas/followers","following_url":"https://api.github.com/users/ajoas/following{/other_user}","gists_url":"https://api.github.com/users/ajoas/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoas/subscriptions","organizations_url":"https://api.github.com/users/ajoas/orgs","repos_url":"https://api.github.com/users/ajoas/repos","events_url":"https://api.github.com/users/ajoas/events{/privacy}","received_events_url":"https://api.github.com/users/ajoas/received_events","type":"User","site_admin":false},"body":"Fixing bug: node variable assignment happens too early in check-es-heap.rb.  Just moved it down a line after the stats variable is assigned.\r\n\r\nApologies if the CHANGELOG is improperly versioned -- not sure if I'm allowed to version this fix or put it in Unreleased.","created_at":"2016-02-22T22:08:42Z","updated_at":"2016-02-22T22:08:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31/commits","review_comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31/comments","review_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/31/comments","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/statuses/23f8fda953cfd30e771c6f406b4dd8c3f0f825d8","head":{"label":"ajoas:move_node_assignment","ref":"move_node_assignment","sha":"23f8fda953cfd30e771c6f406b4dd8c3f0f825d8","user":{"login":"ajoas","id":12239415,"avatar_url":"https://avatars.githubusercontent.com/u/12239415?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoas","html_url":"https://github.com/ajoas","followers_url":"https://api.github.com/users/ajoas/followers","following_url":"https://api.github.com/users/ajoas/following{/other_user}","gists_url":"https://api.github.com/users/ajoas/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoas/subscriptions","organizations_url":"https://api.github.com/users/ajoas/orgs","repos_url":"https://api.github.com/users/ajoas/repos","events_url":"https://api.github.com/users/ajoas/events{/privacy}","received_events_url":"https://api.github.com/users/ajoas/received_events","type":"User","site_admin":false},"repo":{"id":52308237,"name":"sensu-plugins-elasticsearch","full_name":"ajoas/sensu-plugins-elasticsearch","owner":{"login":"ajoas","id":12239415,"avatar_url":"https://avatars.githubusercontent.com/u/12239415?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoas","html_url":"https://github.com/ajoas","followers_url":"https://api.github.com/users/ajoas/followers","following_url":"https://api.github.com/users/ajoas/following{/other_user}","gists_url":"https://api.github.com/users/ajoas/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoas/subscriptions","organizations_url":"https://api.github.com/users/ajoas/orgs","repos_url":"https://api.github.com/users/ajoas/repos","events_url":"https://api.github.com/users/ajoas/events{/privacy}","received_events_url":"https://api.github.com/users/ajoas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajoas/sensu-plugins-elasticsearch","description":"This plugin provides native ElasticSearch instrumentation for monitoring and metrics collection, including: service health and metrics for cluster, node, and more.","fork":true,"url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch","forks_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/forks","keys_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/teams","hooks_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/events","assignees_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/tags","blobs_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/subscription","commits_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/merges","archive_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/downloads","issues_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/ajoas/sensu-plugins-elasticsearch/deployments","created_at":"2016-02-22T21:45:36Z","updated_at":"2016-02-22T21:45:37Z","pushed_at":"2016-02-22T22:03:52Z","git_url":"git://github.com/ajoas/sensu-plugins-elasticsearch.git","ssh_url":"git@github.com:ajoas/sensu-plugins-elasticsearch.git","clone_url":"https://github.com/ajoas/sensu-plugins-elasticsearch.git","svn_url":"https://github.com/ajoas/sensu-plugins-elasticsearch","homepage":"http://sensu-plugins.io","size":118,"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":"dc2862671188d45f8fcaa479e7d9f246bf9fdb2a","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":30635210,"name":"sensu-plugins-elasticsearch","full_name":"sensu-plugins/sensu-plugins-elasticsearch","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-elasticsearch","description":"This plugin provides native ElasticSearch instrumentation for monitoring and metrics collection, including: service health and metrics for cluster, node, and more.","fork":false,"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch","forks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/forks","keys_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/teams","hooks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/events","assignees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/tags","blobs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/subscription","commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/merges","archive_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/downloads","issues_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/deployments","created_at":"2015-02-11T07:05:35Z","updated_at":"2016-02-18T10:53:54Z","pushed_at":"2016-02-20T06:47:26Z","git_url":"git://github.com/sensu-plugins/sensu-plugins-elasticsearch.git","ssh_url":"git@github.com:sensu-plugins/sensu-plugins-elasticsearch.git","clone_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch.git","svn_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch","homepage":"http://sensu-plugins.io","size":138,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31"},"html":{"href":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/31"},"issue":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/31"},"comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/statuses/23f8fda953cfd30e771c6f406b4dd8c3f0f825d8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":1,"changed_files":2}}