{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/apache/ambari/pulls/59","id":128336373,"node_id":"MDExOlB1bGxSZXF1ZXN0MTI4MzM2Mzcz","html_url":"https://github.com/apache/ambari/pull/59","diff_url":"https://github.com/apache/ambari/pull/59.diff","patch_url":"https://github.com/apache/ambari/pull/59.patch","issue_url":"https://api.github.com/repos/apache/ambari/issues/59","number":59,"state":"closed","locked":false,"title":"AMBARI-21365: Add a few missing `var` declarations.","user":{"login":"xiemaisi","id":501353,"node_id":"MDQ6VXNlcjUwMTM1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/501353?v=4","gravatar_id":"","url":"https://api.github.com/users/xiemaisi","html_url":"https://github.com/xiemaisi","followers_url":"https://api.github.com/users/xiemaisi/followers","following_url":"https://api.github.com/users/xiemaisi/following{/other_user}","gists_url":"https://api.github.com/users/xiemaisi/gists{/gist_id}","starred_url":"https://api.github.com/users/xiemaisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiemaisi/subscriptions","organizations_url":"https://api.github.com/users/xiemaisi/orgs","repos_url":"https://api.github.com/users/xiemaisi/repos","events_url":"https://api.github.com/users/xiemaisi/events{/privacy}","received_events_url":"https://api.github.com/users/xiemaisi/received_events","type":"User","site_admin":false},"body":"This fixes some minor issues found by [lgtm](https://lgtm.com); for more details see https://lgtm.com/projects/g/apache/ambari/alerts/. (Full disclosure: I work on the JavaScript analysis behind lgtm.)\r\n\r\nI've already filed a JIRA issue for this with patch attached (https://issues.apache.org/jira/browse/AMBARI-21365), but it's not been picked up yet.","created_at":"2017-06-30T10:02:44Z","updated_at":"2018-10-23T15:45:36Z","closed_at":"2018-10-23T15:45:36Z","merged_at":null,"merge_commit_sha":"03f57a8f4da20d2870498c434bffd37b22a9edbd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Jetly-Jaimin","id":1790996,"node_id":"MDQ6VXNlcjE3OTA5OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1790996?v=4","gravatar_id":"","url":"https://api.github.com/users/Jetly-Jaimin","html_url":"https://github.com/Jetly-Jaimin","followers_url":"https://api.github.com/users/Jetly-Jaimin/followers","following_url":"https://api.github.com/users/Jetly-Jaimin/following{/other_user}","gists_url":"https://api.github.com/users/Jetly-Jaimin/gists{/gist_id}","starred_url":"https://api.github.com/users/Jetly-Jaimin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jetly-Jaimin/subscriptions","organizations_url":"https://api.github.com/users/Jetly-Jaimin/orgs","repos_url":"https://api.github.com/users/Jetly-Jaimin/repos","events_url":"https://api.github.com/users/Jetly-Jaimin/events{/privacy}","received_events_url":"https://api.github.com/users/Jetly-Jaimin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/ambari/pulls/59/commits","review_comments_url":"https://api.github.com/repos/apache/ambari/pulls/59/comments","review_comment_url":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/ambari/issues/59/comments","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/a1c03d54f4d56b5c7bbd6dc30ff4cda63bc61123","head":{"label":"xiemaisi:fix-lgtm-alerts","ref":"fix-lgtm-alerts","sha":"a1c03d54f4d56b5c7bbd6dc30ff4cda63bc61123","user":{"login":"xiemaisi","id":501353,"node_id":"MDQ6VXNlcjUwMTM1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/501353?v=4","gravatar_id":"","url":"https://api.github.com/users/xiemaisi","html_url":"https://github.com/xiemaisi","followers_url":"https://api.github.com/users/xiemaisi/followers","following_url":"https://api.github.com/users/xiemaisi/following{/other_user}","gists_url":"https://api.github.com/users/xiemaisi/gists{/gist_id}","starred_url":"https://api.github.com/users/xiemaisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiemaisi/subscriptions","organizations_url":"https://api.github.com/users/xiemaisi/orgs","repos_url":"https://api.github.com/users/xiemaisi/repos","events_url":"https://api.github.com/users/xiemaisi/events{/privacy}","received_events_url":"https://api.github.com/users/xiemaisi/received_events","type":"User","site_admin":false},"repo":{"id":95875044,"node_id":"MDEwOlJlcG9zaXRvcnk5NTg3NTA0NA==","name":"ambari","full_name":"xiemaisi/ambari","private":false,"owner":{"login":"xiemaisi","id":501353,"node_id":"MDQ6VXNlcjUwMTM1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/501353?v=4","gravatar_id":"","url":"https://api.github.com/users/xiemaisi","html_url":"https://github.com/xiemaisi","followers_url":"https://api.github.com/users/xiemaisi/followers","following_url":"https://api.github.com/users/xiemaisi/following{/other_user}","gists_url":"https://api.github.com/users/xiemaisi/gists{/gist_id}","starred_url":"https://api.github.com/users/xiemaisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiemaisi/subscriptions","organizations_url":"https://api.github.com/users/xiemaisi/orgs","repos_url":"https://api.github.com/users/xiemaisi/repos","events_url":"https://api.github.com/users/xiemaisi/events{/privacy}","received_events_url":"https://api.github.com/users/xiemaisi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xiemaisi/ambari","description":"Mirror of Apache Ambari","fork":true,"url":"https://api.github.com/repos/xiemaisi/ambari","forks_url":"https://api.github.com/repos/xiemaisi/ambari/forks","keys_url":"https://api.github.com/repos/xiemaisi/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiemaisi/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiemaisi/ambari/teams","hooks_url":"https://api.github.com/repos/xiemaisi/ambari/hooks","issue_events_url":"https://api.github.com/repos/xiemaisi/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/xiemaisi/ambari/events","assignees_url":"https://api.github.com/repos/xiemaisi/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/xiemaisi/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/xiemaisi/ambari/tags","blobs_url":"https://api.github.com/repos/xiemaisi/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiemaisi/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiemaisi/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiemaisi/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiemaisi/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/xiemaisi/ambari/languages","stargazers_url":"https://api.github.com/repos/xiemaisi/ambari/stargazers","contributors_url":"https://api.github.com/repos/xiemaisi/ambari/contributors","subscribers_url":"https://api.github.com/repos/xiemaisi/ambari/subscribers","subscription_url":"https://api.github.com/repos/xiemaisi/ambari/subscription","commits_url":"https://api.github.com/repos/xiemaisi/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiemaisi/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiemaisi/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiemaisi/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/xiemaisi/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/xiemaisi/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiemaisi/ambari/merges","archive_url":"https://api.github.com/repos/xiemaisi/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiemaisi/ambari/downloads","issues_url":"https://api.github.com/repos/xiemaisi/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/xiemaisi/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/xiemaisi/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/xiemaisi/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiemaisi/ambari/labels{/name}","releases_url":"https://api.github.com/repos/xiemaisi/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/xiemaisi/ambari/deployments","created_at":"2017-06-30T09:57:10Z","updated_at":"2017-06-30T09:57:54Z","pushed_at":"2017-06-30T09:59:35Z","git_url":"git://github.com/xiemaisi/ambari.git","ssh_url":"git@github.com:xiemaisi/ambari.git","clone_url":"https://github.com/xiemaisi/ambari.git","svn_url":"https://github.com/xiemaisi/ambari","homepage":null,"size":283886,"stargazers_count":0,"watchers_count":0,"language":"Java","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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"apache:trunk","ref":"trunk","sha":"1d4cbc8aca2eddd0294b27755ec5769c66bf6b80","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":2442457,"node_id":"MDEwOlJlcG9zaXRvcnkyNDQyNDU3","name":"ambari","full_name":"apache/ambari","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/ambari","description":"Mirror of Apache Ambari","fork":false,"url":"https://api.github.com/repos/apache/ambari","forks_url":"https://api.github.com/repos/apache/ambari/forks","keys_url":"https://api.github.com/repos/apache/ambari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/ambari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/ambari/teams","hooks_url":"https://api.github.com/repos/apache/ambari/hooks","issue_events_url":"https://api.github.com/repos/apache/ambari/issues/events{/number}","events_url":"https://api.github.com/repos/apache/ambari/events","assignees_url":"https://api.github.com/repos/apache/ambari/assignees{/user}","branches_url":"https://api.github.com/repos/apache/ambari/branches{/branch}","tags_url":"https://api.github.com/repos/apache/ambari/tags","blobs_url":"https://api.github.com/repos/apache/ambari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/ambari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/ambari/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/ambari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/ambari/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/ambari/languages","stargazers_url":"https://api.github.com/repos/apache/ambari/stargazers","contributors_url":"https://api.github.com/repos/apache/ambari/contributors","subscribers_url":"https://api.github.com/repos/apache/ambari/subscribers","subscription_url":"https://api.github.com/repos/apache/ambari/subscription","commits_url":"https://api.github.com/repos/apache/ambari/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/ambari/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/ambari/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/ambari/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/ambari/contents/{+path}","compare_url":"https://api.github.com/repos/apache/ambari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/ambari/merges","archive_url":"https://api.github.com/repos/apache/ambari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/ambari/downloads","issues_url":"https://api.github.com/repos/apache/ambari/issues{/number}","pulls_url":"https://api.github.com/repos/apache/ambari/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/ambari/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/ambari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/ambari/labels{/name}","releases_url":"https://api.github.com/repos/apache/ambari/releases{/id}","deployments_url":"https://api.github.com/repos/apache/ambari/deployments","created_at":"2011-09-23T07:00:08Z","updated_at":"2018-10-23T12:08:51Z","pushed_at":"2018-10-23T15:10:30Z","git_url":"git://github.com/apache/ambari.git","ssh_url":"git@github.com:apache/ambari.git","clone_url":"https://github.com/apache/ambari.git","svn_url":"https://github.com/apache/ambari","homepage":null,"size":336959,"stargazers_count":948,"watchers_count":948,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":955,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":955,"open_issues":60,"watchers":948,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/ambari/pulls/59"},"html":{"href":"https://github.com/apache/ambari/pull/59"},"issue":{"href":"https://api.github.com/repos/apache/ambari/issues/59"},"comments":{"href":"https://api.github.com/repos/apache/ambari/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/ambari/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/ambari/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/ambari/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/apache/ambari/statuses/a1c03d54f4d56b5c7bbd6dc30ff4cda63bc61123"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":11,"deletions":11,"changed_files":6}}
{"actor":{"display_login":"jonathan-hurley"}}